2017-07-19 23:54:01 -05:00
|
|
|
warning: struct is never used: `S`
|
2018-02-01 13:51:49 -06:00
|
|
|
--> $DIR/macro-span-replacement.rs:17:14
|
2017-07-19 23:54:01 -05:00
|
|
|
|
|
2017-12-10 15:12:28 -06:00
|
|
|
17 | $b $a; //~ WARN struct is never used
|
2018-02-01 13:51:49 -06:00
|
|
|
| ^
|
2017-07-19 23:54:01 -05:00
|
|
|
...
|
2017-12-10 15:12:28 -06:00
|
|
|
22 | m!(S struct);
|
2017-07-19 23:54:01 -05:00
|
|
|
| ------------- in this macro invocation
|
|
|
|
|
|
2017-07-26 23:51:09 -05:00
|
|
|
note: lint level defined here
|
2017-12-10 15:12:28 -06:00
|
|
|
--> $DIR/macro-span-replacement.rs:13:9
|
2017-07-26 23:51:09 -05:00
|
|
|
|
|
2017-12-10 15:12:28 -06:00
|
|
|
13 | #![warn(unused)]
|
2017-07-26 23:51:09 -05:00
|
|
|
| ^^^^^^
|
|
|
|
= note: #[warn(dead_code)] implied by #[warn(unused)]
|
2017-07-19 23:54:01 -05:00
|
|
|
|