]>
Commit | Line | Data |
---|---|---|
0531ce1d | 1 | warning: `#[derive]` does nothing on macro invocations |
e1599b0c | 2 | --> $DIR/issue-49934.rs:13:5 |
0531ce1d XL |
3 | | |
4 | LL | #[derive(Debug)] | |
5 | | ^^^^^^^^^^^^^^^^ | |
6 | | | |
7 | = note: this may become a hard error in a future release | |
8 | ||
9 | warning: unused attribute | |
e1599b0c | 10 | --> $DIR/issue-49934.rs:19:5 |
0531ce1d | 11 | | |
e1599b0c XL |
12 | LL | #[derive(Debug)] |
13 | | ^^^^^^^^^^^^^^^^ | |
0531ce1d | 14 | | |
74b04a01 | 15 | note: the lint level is defined here |
0731742a | 16 | --> $DIR/issue-49934.rs:4:9 |
0531ce1d | 17 | | |
532ac7d7 | 18 | LL | #![warn(unused_attributes)] |
0531ce1d XL |
19 | | ^^^^^^^^^^^^^^^^^ |
20 | ||
21 | warning: unused attribute | |
e1599b0c | 22 | --> $DIR/issue-49934.rs:23:5 |
0531ce1d | 23 | | |
532ac7d7 | 24 | LL | #[derive(Debug)] |
0531ce1d XL |
25 | | ^^^^^^^^^^^^^^^^ |
26 | ||
27 | warning: unused attribute | |
e1599b0c | 28 | --> $DIR/issue-49934.rs:27:13 |
83c7162d XL |
29 | | |
30 | LL | let _ = #[derive(Debug)] "Hello, world!"; | |
31 | | ^^^^^^^^^^^^^^^^ | |
32 | ||
33 | warning: unused attribute | |
e1599b0c | 34 | --> $DIR/issue-49934.rs:32:9 |
0531ce1d | 35 | | |
532ac7d7 | 36 | LL | #[derive(Debug)] |
0531ce1d XL |
37 | | ^^^^^^^^^^^^^^^^ |
38 | ||
ba9703b0 XL |
39 | warning: 5 warnings emitted |
40 |