2 // aux-build:deprecated-macros.rs
4 #[macro_use] extern crate deprecated_macros;
6 #[deprecated(since = "1.0.0", note = "local deprecation note")]
8 macro_rules! local_deprecated{ () => () }
11 local_deprecated!(); //~ WARN use of deprecated macro `local_deprecated`: local deprecation note
12 deprecated_macro!(); //~ WARN use of deprecated macro `deprecated_macro`: deprecation note