2024-03-21 16:20:40 -05:00
|
|
|
error: duplicated attribute
|
2024-04-18 10:48:52 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:6:10
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
|
|
|
LL | #![allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: first defined here
|
2024-04-18 10:48:52 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:5:10
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
|
|
|
LL | #![allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
help: remove this attribute
|
2024-04-18 10:48:52 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:6:10
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
|
|
|
LL | #![allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
= note: `-D clippy::duplicated-attributes` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::duplicated_attributes)]`
|
|
|
|
|
|
|
|
error: duplicated attribute
|
2024-04-18 10:48:52 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:14:9
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: first defined here
|
2024-04-18 10:48:52 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:13:9
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
help: remove this attribute
|
2024-04-18 10:48:52 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:14:9
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2024-04-18 10:48:52 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2024-03-21 16:20:40 -05:00
|
|
|
|