2024-03-21 16:20:40 -05:00
|
|
|
error: duplicated attribute
|
|
|
|
--> tests/ui/duplicated_attributes.rs:4:10
|
|
|
|
|
|
|
|
|
LL | #![allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: first defined here
|
|
|
|
--> tests/ui/duplicated_attributes.rs:3:10
|
|
|
|
|
|
|
|
|
LL | #![allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
help: remove this attribute
|
|
|
|
--> tests/ui/duplicated_attributes.rs:4:10
|
|
|
|
|
|
|
|
|
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-04 12:52:55 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:9:9
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: first defined here
|
2024-04-04 12:52:55 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:8:9
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
help: remove this attribute
|
2024-04-04 12:52:55 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:9:9
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: duplicated attribute
|
2024-04-04 12:52:55 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:15:7
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
2024-04-04 12:52:55 -05:00
|
|
|
LL | #[cfg(unix)]
|
|
|
|
| ^^^^
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
|
|
|
note: first defined here
|
2024-04-04 12:52:55 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:13:7
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
2024-04-04 12:52:55 -05:00
|
|
|
LL | #[cfg(unix)]
|
|
|
|
| ^^^^
|
2024-03-21 16:20:40 -05:00
|
|
|
help: remove this attribute
|
2024-04-04 12:52:55 -05:00
|
|
|
--> tests/ui/duplicated_attributes.rs:15:7
|
2024-03-21 16:20:40 -05:00
|
|
|
|
|
2024-04-04 12:52:55 -05:00
|
|
|
LL | #[cfg(unix)]
|
|
|
|
| ^^^^
|
2024-03-21 16:20:40 -05:00
|
|
|
|
2024-04-04 12:52:55 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2024-03-21 16:20:40 -05:00
|
|
|
|