2018-07-21 19:55:34 -05:00
|
|
|
warning: struct is never constructed: `S`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-span-replacement.rs:7:14
|
2017-07-19 23:54:01 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | $b $a;
|
2018-02-01 13:51:49 -06:00
|
|
|
| ^
|
2017-07-19 23:54:01 -05:00
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | m!(S struct);
|
2017-07-19 23:54:01 -05:00
|
|
|
| ------------- in this macro invocation
|
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-span-replacement.rs:3:9
|
2017-07-26 23:51:09 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #![warn(unused)]
|
2017-07-26 23:51:09 -05:00
|
|
|
| ^^^^^^
|
2019-07-16 15:17:38 -05:00
|
|
|
= note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
|
2019-12-16 07:56:47 -06:00
|
|
|
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2017-07-19 23:54:01 -05:00
|
|
|
|