1 // ignore-tidy-linelength
3 #![deny(deprecated_in_future)]
5 #![feature(staged_api)]
7 #![stable(feature = "rustc_deprecation-in-future-test", since = "1.0.0")]
9 #[rustc_deprecated(since = "99.99.99", reason = "effectively never")]
10 #[stable(feature = "rustc_deprecation-in-future-test", since = "1.0.0")]
14 let _ = S; //~ ERROR use of unit struct `S` that will be deprecated in future version 99.99.99: effectively never