blob: 8b65e798b6ef51e8550c67833d3bddbc72ad59ee (
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)]`
|