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