|
1 | 1 | warning: `#[derive]` does nothing on macro invocations
|
2 |
| - --> $DIR/issue-49934.rs:30:5 |
| 2 | + --> $DIR/issue-49934.rs:29:5 |
3 | 3 | |
|
4 | 4 | LL | #[derive(Debug)]
|
5 | 5 | | ^^^^^^^^^^^^^^^^
|
6 | 6 | |
|
7 | 7 | = note: this may become a hard error in a future release
|
8 | 8 |
|
9 | 9 | warning: unused attribute
|
10 |
| - --> $DIR/issue-49934.rs:16:8 |
| 10 | + --> $DIR/issue-49934.rs:17:9 |
11 | 11 | |
|
12 |
| -LL | fn foo<#[derive(Debug)] T>() { //~ WARN unused attribute |
13 |
| - | ^^^^^^^^^^^^^^^^ |
| 12 | +LL | #[derive(Debug)] //~ WARN unused attribute |
| 13 | + | ^^^^^^^^^^^^^^^^ |
14 | 14 | |
|
15 | 15 | note: lint level defined here
|
16 |
| - --> $DIR/issue-49934.rs:14:9 |
| 16 | + --> $DIR/issue-49934.rs:13:9 |
17 | 17 | |
|
18 | 18 | LL | #![warn(unused_attributes)] //~ NOTE lint level defined here
|
19 | 19 | | ^^^^^^^^^^^^^^^^^
|
20 | 20 |
|
21 | 21 | warning: unused attribute
|
22 |
| - --> $DIR/issue-49934.rs:18:9 |
23 |
| - | |
24 |
| -LL | #[derive(Debug)] //~ WARN unused attribute |
25 |
| - | ^^^^^^^^^^^^^^^^ |
26 |
| - |
27 |
| -warning: unused attribute |
28 |
| - --> $DIR/issue-49934.rs:36:5 |
| 22 | + --> $DIR/issue-49934.rs:35:5 |
29 | 23 | |
|
30 | 24 | LL | #[derive(Debug)] //~ WARN unused attribute
|
31 | 25 | | ^^^^^^^^^^^^^^^^
|
32 | 26 |
|
33 | 27 | warning: unused attribute
|
34 |
| - --> $DIR/issue-49934.rs:40:5 |
| 28 | + --> $DIR/issue-49934.rs:39:5 |
35 | 29 | |
|
36 | 30 | LL | #[derive(Debug)] //~ WARN unused attribute
|
37 | 31 | | ^^^^^^^^^^^^^^^^
|
38 | 32 |
|
39 | 33 | warning: unused attribute
|
40 |
| - --> $DIR/issue-49934.rs:44:13 |
41 |
| - | |
42 |
| -LL | let _ = #[derive(Debug)] "Hello, world!"; |
43 |
| - | ^^^^^^^^^^^^^^^^ |
44 |
| - |
45 |
| -warning: unused attribute |
46 |
| - --> $DIR/issue-49934.rs:49:9 |
| 34 | + --> $DIR/issue-49934.rs:44:9 |
47 | 35 | |
|
48 | 36 | LL | #[derive(Debug)] //~ WARN unused attribute
|
49 | 37 | | ^^^^^^^^^^^^^^^^
|
|
0 commit comments