2021-09-06 00:16:28 +00:00
|
|
|
error: unused attribute
|
2024-02-10 21:53:34 +00:00
|
|
|
--> $DIR/empty-attributes.rs:9:1
|
2021-09-06 00:16:28 +00:00
|
|
|
|
|
|
|
|
LL | #[repr()]
|
|
|
|
| ^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
2022-09-18 15:55:36 +00:00
|
|
|
= note: attribute `repr` with an empty list has no effect
|
2021-09-06 00:16:28 +00:00
|
|
|
note: the lint level is defined here
|
2024-02-10 21:53:34 +00:00
|
|
|
--> $DIR/empty-attributes.rs:1:9
|
2021-09-06 00:16:28 +00:00
|
|
|
|
|
|
|
|
LL | #![deny(unused_attributes)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: unused attribute
|
2024-02-10 21:53:34 +00:00
|
|
|
--> $DIR/empty-attributes.rs:12:1
|
2021-09-06 00:16:28 +00:00
|
|
|
|
|
|
|
|
LL | #[target_feature()]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
|
|
|
= note: attribute `target_feature` with an empty list has no effect
|
|
|
|
|
|
|
|
error: unused attribute
|
2024-02-10 21:53:34 +00:00
|
|
|
--> $DIR/empty-attributes.rs:2:1
|
2021-09-06 00:16:28 +00:00
|
|
|
|
|
|
|
|
LL | #![allow()]
|
|
|
|
| ^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
|
|
|
= note: attribute `allow` with an empty list has no effect
|
|
|
|
|
|
|
|
error: unused attribute
|
2024-02-10 21:53:34 +00:00
|
|
|
--> $DIR/empty-attributes.rs:3:1
|
2022-03-03 21:28:56 +00:00
|
|
|
|
|
|
|
|
LL | #![expect()]
|
|
|
|
| ^^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
|
|
|
= note: attribute `expect` with an empty list has no effect
|
|
|
|
|
|
|
|
error: unused attribute
|
2024-02-10 21:53:34 +00:00
|
|
|
--> $DIR/empty-attributes.rs:4:1
|
2021-09-06 00:16:28 +00:00
|
|
|
|
|
|
|
|
LL | #![warn()]
|
|
|
|
| ^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
|
|
|
= note: attribute `warn` with an empty list has no effect
|
|
|
|
|
|
|
|
error: unused attribute
|
2024-02-10 21:53:34 +00:00
|
|
|
--> $DIR/empty-attributes.rs:5:1
|
2021-09-06 00:16:28 +00:00
|
|
|
|
|
|
|
|
LL | #![deny()]
|
|
|
|
| ^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
|
|
|
= note: attribute `deny` with an empty list has no effect
|
|
|
|
|
|
|
|
error: unused attribute
|
2024-02-10 21:53:34 +00:00
|
|
|
--> $DIR/empty-attributes.rs:6:1
|
2021-09-06 00:16:28 +00:00
|
|
|
|
|
|
|
|
LL | #![forbid()]
|
|
|
|
| ^^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
|
|
|
= note: attribute `forbid` with an empty list has no effect
|
|
|
|
|
|
|
|
error: unused attribute
|
2024-02-10 21:53:34 +00:00
|
|
|
--> $DIR/empty-attributes.rs:7:1
|
2021-09-06 00:16:28 +00:00
|
|
|
|
|
|
|
|
LL | #![feature()]
|
|
|
|
| ^^^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
|
|
|
= note: attribute `feature` with an empty list has no effect
|
|
|
|
|
2022-03-03 21:28:56 +00:00
|
|
|
error: aborting due to 8 previous errors
|
2021-09-06 00:16:28 +00:00
|
|
|
|