warning: struct is never used: `S` | |
--> $DIR/macro-span-replacement.rs:17:9 | |
| | |
17 | $b $a; //~ WARN struct is never used | |
| ^^^^^^ | |
... | |
22 | m!(S struct); | |
| ------------- in this macro invocation | |
| | |
note: lint level defined here | |
--> $DIR/macro-span-replacement.rs:13:9 | |
| | |
13 | #![warn(unused)] | |
| ^^^^^^ | |
= note: #[warn(dead_code)] implied by #[warn(unused)] | |