mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-24 12:03:28 +00:00
31 lines
933 B
Text
31 lines
933 B
Text
error: #[allow] attribute found
|
|
--> tests/ui/allow_attributes.rs:12: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
|
|
--> tests/ui/allow_attributes.rs:21:30
|
|
|
|
|
LL | #[cfg_attr(panic = "unwind", allow(dead_code))]
|
|
| ^^^^^ help: replace it with: `expect`
|
|
|
|
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
|
|
|