2023-03-11 00:23:58 +01:00
|
|
|
error: #[allow] attribute found
|
2023-06-01 20:24:41 -05:00
|
|
|
--> $DIR/allow_attributes.rs:14:3
|
2023-03-11 00:23:58 +01:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
2023-03-11 21:30:34 +01:00
|
|
|
| ^^^^^ help: replace it with: `expect`
|
2023-03-11 00:23:58 +01:00
|
|
|
|
|
2023-03-15 23:18:25 +01:00
|
|
|
= note: `-D clippy::allow-attributes` implied by `-D warnings`
|
2023-03-11 00:23:58 +01:00
|
|
|
|
2023-06-01 21:26:41 -05:00
|
|
|
error: #[allow] attribute found
|
|
|
|
--> $DIR/allow_attributes.rs:23:30
|
|
|
|
|
|
|
|
|
LL | #[cfg_attr(panic = "unwind", allow(dead_code))]
|
|
|
|
| ^^^^^ help: replace it with: `expect`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2023-03-11 00:23:58 +01:00
|
|
|
|