rust-clippy/tests/ui/allow_attribute.stderr

17 lines
454 B
Text
Raw Normal View History

2023-03-10 23:23:58 +00:00
error: #[allow] attribute found
--> $DIR/allow_attribute.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
|
= note: `-D clippy::allow-attribute` implied by `-D warnings`
error: #[allow] attribute found
--> $DIR/allow_attribute.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