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