rust/tests/rustdoc/deprecated-future-staged-ap...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
894 B
Rust
Raw Normal View History

2022-04-08 11:44:55 +08:00
#![feature(staged_api)]
2023-10-16 03:53:37 +08:00
#![stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
2022-04-08 11:44:55 +08: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-16 03:53:37 +08:00
#[stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
2022-04-08 11:44:55 +08: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-16 03:53:37 +08:00
#[stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
2022-04-08 11:44:55 +08:00
pub struct S2;