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