]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/macro-span-replacement.stderr
Auto merge of #85178 - cjgillot:local-crate, r=oli-obk
[rust.git] / src / test / ui / span / macro-span-replacement.stderr
1 warning: struct is never constructed: `S`
2   --> $DIR/macro-span-replacement.rs:7:14
3    |
4 LL |         $b $a;
5    |              ^
6 ...
7 LL |     m!(S struct);
8    |     ------------- in this macro invocation
9    |
10 note: the lint level is defined here
11   --> $DIR/macro-span-replacement.rs:3:9
12    |
13 LL | #![warn(unused)]
14    |         ^^^^^^
15    = note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
16    = note: this warning originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
17
18 warning: 1 warning emitted
19