rust-clippy/tests/ui/allow_attributes.stderr

17 lines
457 B
Text
Raw Normal View History

2023-03-10 23:23:58 +00:00
error: #[allow] attribute found
2023-03-15 22:18:25 +00:00
--> $DIR/allow_attributes.rs:11:3
2023-03-10 23:23:58 +00:00
|
LL | #[allow(dead_code)]
| ^^^^^ help: replace it with: `expect`
2023-03-10 23:23:58 +00:00
|
2023-03-15 22:18:25 +00:00
= note: `-D clippy::allow-attributes` implied by `-D warnings`
2023-03-10 23:23:58 +00:00
error: #[allow] attribute found
2023-03-15 22:18:25 +00:00
--> $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
2023-03-10 23:23:58 +00:00