3 #![deny(deprecated_in_future)]
5 #[deprecated(since = "99.99.99", note = "text")]
6 pub fn deprecated_future() {}
9 deprecated_future(); // ok; deprecated_in_future only applies with `#![feature(staged_api)]`
10 //~^ WARNING use of deprecated function `deprecated_future`: text [deprecated]