2024-02-28 16:25:28 +00:00
|
|
|
error: duplicated attribute
|
2024-04-08 12:12:32 +00:00
|
|
|
--> tests/ui/duplicated_attributes.rs:6:10
|
2024-02-28 16:25:28 +00:00
|
|
|
|
|
|
|
|
LL | #![allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: first defined here
|
2024-04-08 12:12:32 +00:00
|
|
|
--> tests/ui/duplicated_attributes.rs:5:10
|
2024-02-28 16:25:28 +00:00
|
|
|
|
|
|
|
|
LL | #![allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
help: remove this attribute
|
2024-04-08 12:12:32 +00:00
|
|
|
--> tests/ui/duplicated_attributes.rs:6:10
|
2024-02-28 16:25:28 +00: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-08 12:12:32 +00:00
|
|
|
--> tests/ui/duplicated_attributes.rs:14:9
|
2024-02-28 16:25:28 +00:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: first defined here
|
2024-04-08 12:12:32 +00:00
|
|
|
--> tests/ui/duplicated_attributes.rs:13:9
|
2024-02-28 16:25:28 +00:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
help: remove this attribute
|
2024-04-08 12:12:32 +00:00
|
|
|
--> tests/ui/duplicated_attributes.rs:14:9
|
2024-02-28 16:25:28 +00:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2024-04-08 12:12:32 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2024-02-28 16:25:28 +00:00
|
|
|
|