1 #![deny(deprecated_in_future)]
3 #![feature(staged_api)]
5 #![stable(feature = "rustc_deprecation-in-future-test", since = "1.0.0")]
7 #[deprecated(since = "99.99.99", note = "effectively never")]
8 #[stable(feature = "rustc_deprecation-in-future-test", since = "1.0.0")]
11 #[deprecated(since = "TBD", note = "literally never")]
12 #[stable(feature = "rustc_deprecation-in-future-test", since = "1.0.0")]
16 let _ = S1; //~ ERROR use of unit struct `S1` that will be deprecated in future version 99.99.99: effectively never
17 let _ = S2; //~ ERROR use of unit struct `S2` that will be deprecated in a future Rust version: literally never