rust/tests/ui/allow_attributes.stderr

17 lines
457 B
Plaintext
Raw Normal View History

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