]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/macro-span-replacement.stderr
Rollup merge of #106043 - c410-f3r:moar-errors, r=petrochenkov
[rust.git] / src / test / ui / span / macro-span-replacement.stderr
1 warning: struct `S` is never constructed
2   --> $DIR/macro-span-replacement.rs:7:12
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