2022-04-07 22:44:55 -05:00
|
|
|
#![feature(staged_api)]
|
2023-10-15 14:53:37 -05:00
|
|
|
#![stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
|
2022-04-07 22:44:55 -05:00
|
|
|
|
|
|
|
// @has deprecated_future_staged_api/index.html '//*[@class="stab deprecated"]' \
|
|
|
|
// 'Deprecation planned'
|
|
|
|
// @has deprecated_future_staged_api/struct.S1.html '//*[@class="stab deprecated"]' \
|
|
|
|
// 'Deprecating in 99.99.99: effectively never'
|
|
|
|
#[deprecated(since = "99.99.99", note = "effectively never")]
|
2023-10-15 14:53:37 -05:00
|
|
|
#[stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
|
2022-04-07 22:44:55 -05:00
|
|
|
pub struct S1;
|
|
|
|
|
|
|
|
// @has deprecated_future_staged_api/index.html '//*[@class="stab deprecated"]' \
|
|
|
|
// 'Deprecation planned'
|
|
|
|
// @has deprecated_future_staged_api/struct.S2.html '//*[@class="stab deprecated"]' \
|
|
|
|
// 'Deprecating in a future Rust version: literally never'
|
|
|
|
#[deprecated(since = "TBD", note = "literally never")]
|
2023-10-15 14:53:37 -05:00
|
|
|
#[stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
|
2022-04-07 22:44:55 -05:00
|
|
|
pub struct S2;
|