2023-03-24 13:04:35 +00:00
|
|
|
error: #[allow] attribute found
|
2024-02-10 22:31:36 +00:00
|
|
|
--> tests/ui/allow_attributes.rs:12:3
|
2023-03-24 13:04:35 +00:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^ help: replace it with: `expect`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::allow-attributes` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::allow_attributes)]`
|
2023-03-24 13:04:35 +00:00
|
|
|
|
|
|
|
error: #[allow] attribute found
|
2024-02-10 22:31:36 +00:00
|
|
|
--> tests/ui/allow_attributes.rs:21:30
|
2023-03-24 13:04:35 +00:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(panic = "unwind", allow(dead_code))]
|
|
|
|
| ^^^^^ help: replace it with: `expect`
|
|
|
|
|
2024-02-10 22:31:36 +00:00
|
|
|
error: #[allow] attribute found
|
|
|
|
--> tests/ui/allow_attributes.rs:52:7
|
|
|
|
|
|
|
|
|
LL | #[allow(unused)]
|
|
|
|
| ^^^^^ help: replace it with: `expect`
|
|
|
|
|
|
|
|
error: #[allow] attribute found
|
|
|
|
--> tests/ui/allow_attributes.rs:52:7
|
|
|
|
|
|
|
|
|
LL | #[allow(unused)]
|
|
|
|
| ^^^^^ help: replace it with: `expect`
|
|
|
|
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2023-03-24 13:04:35 +00:00
|
|
|
|