blob: bb59fa206df1d35c1b3a8652be664733acaa7f4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
warning: struct is never used: `S`
--> $DIR/macro-span-replacement.rs:17:14
|
LL | $b $a; //~ WARN struct is never used
| ^
...
LL | m!(S struct);
| ------------- in this macro invocation
|
note: lint level defined here
--> $DIR/macro-span-replacement.rs:13:9
|
LL | #![warn(unused)]
| ^^^^^^
= note: #[warn(dead_code)] implied by #[warn(unused)]
|