2023-03-24 14:04:35 +01:00
|
|
|
error: #[allow] attribute found
|
2023-08-24 21:32:12 +02:00
|
|
|
--> $DIR/allow_attributes.rs:13:3
|
2023-03-24 14:04:35 +01:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^ help: replace it with: `expect`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::allow-attributes` implied by `-D warnings`
|
2023-08-01 14:02:21 +02:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::allow_attributes)]`
|
2023-03-24 14:04:35 +01:00
|
|
|
|
|
|
|
error: #[allow] attribute found
|
2023-08-24 21:32:12 +02:00
|
|
|
--> $DIR/allow_attributes.rs:22:30
|
2023-03-24 14:04:35 +01:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(panic = "unwind", allow(dead_code))]
|
|
|
|
| ^^^^^ help: replace it with: `expect`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|