]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/deprecated-future-staged-api.rs
Rollup merge of #107773 - Mark-Simulacrum:rename-auto-template, r=estebank
[rust.git] / tests / rustdoc / deprecated-future-staged-api.rs
1 #![feature(staged_api)]
2 #![stable(feature = "deprecated-future-staged-api", since = "1.0.0")]
3
4 // @has deprecated_future_staged_api/index.html '//*[@class="stab deprecated"]' \
5 //      'Deprecation planned'
6 // @has deprecated_future_staged_api/struct.S1.html '//*[@class="stab deprecated"]' \
7 //      'Deprecating in 99.99.99: effectively never'
8 #[deprecated(since = "99.99.99", note = "effectively never")]
9 #[stable(feature = "deprecated-future-staged-api", since = "1.0.0")]
10 pub struct S1;
11
12 // @has deprecated_future_staged_api/index.html '//*[@class="stab deprecated"]' \
13 //      'Deprecation planned'
14 // @has deprecated_future_staged_api/struct.S2.html '//*[@class="stab deprecated"]' \
15 //      'Deprecating in a future Rust version: literally never'
16 #[deprecated(since = "TBD", note = "literally never")]
17 #[stable(feature = "deprecated-future-staged-api", since = "1.0.0")]
18 pub struct S2;