2 // aux-build:call-deprecated.rs
4 extern crate call_deprecated;
6 // These first two `#[allow(deprecated)]` attributes
7 // do nothing, since the AST nodes for `First` and `Second`
8 // haven't been been assigned a `NodeId`.
9 // See #63221 for a discussion about how we should
10 // handle the interaction of 'inert' attributes and
11 // proc-macro attributes.
14 #[call_deprecated::attr] //~ WARN use of deprecated macro
18 #[call_deprecated::attr_remove] //~ WARN use of deprecated macro
24 #[call_deprecated::attr]
28 #[call_deprecated::attr_remove]