]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty/empty-attributes.stderr
Auto merge of #105102 - compiler-errors:copy-impl-considering-regions, r=lcnr
[rust.git] / tests / ui / empty / empty-attributes.stderr
1 error: unused attribute
2   --> $DIR/empty-attributes.rs:11:1
3    |
4 LL | #[repr()]
5    | ^^^^^^^^^ help: remove this attribute
6    |
7    = note: attribute `repr` with an empty list has no effect
8 note: the lint level is defined here
9   --> $DIR/empty-attributes.rs:3:9
10    |
11 LL | #![deny(unused_attributes)]
12    |         ^^^^^^^^^^^^^^^^^
13
14 error: unused attribute
15   --> $DIR/empty-attributes.rs:14:1
16    |
17 LL | #[target_feature()]
18    | ^^^^^^^^^^^^^^^^^^^ help: remove this attribute
19    |
20    = note: attribute `target_feature` with an empty list has no effect
21
22 error: unused attribute
23   --> $DIR/empty-attributes.rs:4:1
24    |
25 LL | #![allow()]
26    | ^^^^^^^^^^^ help: remove this attribute
27    |
28    = note: attribute `allow` with an empty list has no effect
29
30 error: unused attribute
31   --> $DIR/empty-attributes.rs:5:1
32    |
33 LL | #![expect()]
34    | ^^^^^^^^^^^^ help: remove this attribute
35    |
36    = note: attribute `expect` with an empty list has no effect
37
38 error: unused attribute
39   --> $DIR/empty-attributes.rs:6:1
40    |
41 LL | #![warn()]
42    | ^^^^^^^^^^ help: remove this attribute
43    |
44    = note: attribute `warn` with an empty list has no effect
45
46 error: unused attribute
47   --> $DIR/empty-attributes.rs:7:1
48    |
49 LL | #![deny()]
50    | ^^^^^^^^^^ help: remove this attribute
51    |
52    = note: attribute `deny` with an empty list has no effect
53
54 error: unused attribute
55   --> $DIR/empty-attributes.rs:8:1
56    |
57 LL | #![forbid()]
58    | ^^^^^^^^^^^^ help: remove this attribute
59    |
60    = note: attribute `forbid` with an empty list has no effect
61
62 error: unused attribute
63   --> $DIR/empty-attributes.rs:9:1
64    |
65 LL | #![feature()]
66    | ^^^^^^^^^^^^^ help: remove this attribute
67    |
68    = note: attribute `feature` with an empty list has no effect
69
70 error: aborting due to 8 previous errors
71