mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
16 lines
457 B
Text
16 lines
457 B
Text
error: #[allow] attribute found
|
|
--> $DIR/allow_attributes.rs:11:3
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
| ^^^^^ help: replace it with: `expect`
|
|
|
|
|
= note: `-D clippy::allow-attributes` implied by `-D warnings`
|
|
|
|
error: #[allow] attribute found
|
|
--> $DIR/allow_attributes.rs:20:30
|
|
|
|
|
LL | #[cfg_attr(panic = "unwind", allow(dead_code))]
|
|
| ^^^^^ help: replace it with: `expect`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|