]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/macro-span-replacement.stderr
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[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 a macro (in Nightly builds, run with -Z macro-backtrace for more info)
17
18 warning: 1 warning emitted
19