summary refs log tree commit diff
path: root/src/test/ui/span/macro-span-replacement.stderr
blob: f6c303164bfd12281efe33b814523d00749eb477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
warning: struct is never constructed: `S`
  --> $DIR/macro-span-replacement.rs:7:14
   |
LL |         $b $a; //~ WARN struct is never constructed
   |              ^
...
LL |     m!(S struct);
   |     ------------- in this macro invocation
   |
note: lint level defined here
  --> $DIR/macro-span-replacement.rs:3:9
   |
LL | #![warn(unused)]
   |         ^^^^^^
   = note: #[warn(dead_code)] implied by #[warn(unused)]