|
1 | 1 | error: unused attribute
|
2 |
| - --> $DIR/empty-attributes.rs:11:1 |
| 2 | + --> $DIR/empty-attributes.rs:9:1 |
3 | 3 | |
|
4 | 4 | LL | #[repr()]
|
5 | 5 | | ^^^^^^^^^ help: remove this attribute
|
6 | 6 | |
|
7 | 7 | = note: attribute `repr` with an empty list has no effect
|
8 | 8 | note: the lint level is defined here
|
9 |
| - --> $DIR/empty-attributes.rs:3:9 |
| 9 | + --> $DIR/empty-attributes.rs:1:9 |
10 | 10 | |
|
11 | 11 | LL | #![deny(unused_attributes)]
|
12 | 12 | | ^^^^^^^^^^^^^^^^^
|
13 | 13 |
|
14 | 14 | error: unused attribute
|
15 |
| - --> $DIR/empty-attributes.rs:14:1 |
| 15 | + --> $DIR/empty-attributes.rs:12:1 |
16 | 16 | |
|
17 | 17 | LL | #[target_feature()]
|
18 | 18 | | ^^^^^^^^^^^^^^^^^^^ help: remove this attribute
|
19 | 19 | |
|
20 | 20 | = note: attribute `target_feature` with an empty list has no effect
|
21 | 21 |
|
22 | 22 | error: unused attribute
|
23 |
| - --> $DIR/empty-attributes.rs:4:1 |
| 23 | + --> $DIR/empty-attributes.rs:2:1 |
24 | 24 | |
|
25 | 25 | LL | #![allow()]
|
26 | 26 | | ^^^^^^^^^^^ help: remove this attribute
|
27 | 27 | |
|
28 | 28 | = note: attribute `allow` with an empty list has no effect
|
29 | 29 |
|
30 | 30 | error: unused attribute
|
31 |
| - --> $DIR/empty-attributes.rs:5:1 |
| 31 | + --> $DIR/empty-attributes.rs:3:1 |
32 | 32 | |
|
33 | 33 | LL | #![expect()]
|
34 | 34 | | ^^^^^^^^^^^^ help: remove this attribute
|
35 | 35 | |
|
36 | 36 | = note: attribute `expect` with an empty list has no effect
|
37 | 37 |
|
38 | 38 | error: unused attribute
|
39 |
| - --> $DIR/empty-attributes.rs:6:1 |
| 39 | + --> $DIR/empty-attributes.rs:4:1 |
40 | 40 | |
|
41 | 41 | LL | #![warn()]
|
42 | 42 | | ^^^^^^^^^^ help: remove this attribute
|
43 | 43 | |
|
44 | 44 | = note: attribute `warn` with an empty list has no effect
|
45 | 45 |
|
46 | 46 | error: unused attribute
|
47 |
| - --> $DIR/empty-attributes.rs:7:1 |
| 47 | + --> $DIR/empty-attributes.rs:5:1 |
48 | 48 | |
|
49 | 49 | LL | #![deny()]
|
50 | 50 | | ^^^^^^^^^^ help: remove this attribute
|
51 | 51 | |
|
52 | 52 | = note: attribute `deny` with an empty list has no effect
|
53 | 53 |
|
54 | 54 | error: unused attribute
|
55 |
| - --> $DIR/empty-attributes.rs:8:1 |
| 55 | + --> $DIR/empty-attributes.rs:6:1 |
56 | 56 | |
|
57 | 57 | LL | #![forbid()]
|
58 | 58 | | ^^^^^^^^^^^^ help: remove this attribute
|
59 | 59 | |
|
60 | 60 | = note: attribute `forbid` with an empty list has no effect
|
61 | 61 |
|
62 | 62 | error: unused attribute
|
63 |
| - --> $DIR/empty-attributes.rs:9:1 |
| 63 | + --> $DIR/empty-attributes.rs:7:1 |
64 | 64 | |
|
65 | 65 | LL | #![feature()]
|
66 | 66 | | ^^^^^^^^^^^^^ help: remove this attribute
|
|
0 commit comments