blob: d17fd86cb866c59dadc43ea53f18a4623d7f19be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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
|