mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
17 lines
457 B
Plaintext
17 lines
457 B
Plaintext
error: #[allow] attribute found
|
|
--> $DIR/allow_attributes.rs:14: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:23:30
|
|
|
|
|
LL | #[cfg_attr(panic = "unwind", allow(dead_code))]
|
|
| ^^^^^ help: replace it with: `expect`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|