1b503042b8
The deprecation notice is used when in crates as well. This applies to versions Rust or Crates. Fixes #118148 Signed-off-by: Harold Dost <h.dost@criteo.com>
19 lines
889 B
Rust
19 lines
889 B
Rust
#![feature(staged_api)]
|
|
#![stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
|
|
|
|
// @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")]
|
|
#[stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
|
|
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 version: literally never'
|
|
#[deprecated(since = "TBD", note = "literally never")]
|
|
#[stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
|
|
pub struct S2;
|