1 error: `allow` attribute without specifying a reason
2 --> $DIR/allow_attributes_without_reason.rs:5:1
4 LL | #[allow(dead_code)]
7 note: the lint level is defined here
8 --> $DIR/allow_attributes_without_reason.rs:2:9
10 LL | #![deny(clippy::allow_attributes_without_reason)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = help: try adding a reason at the end with `, reason = ".."`
14 error: `allow` attribute without specifying a reason
15 --> $DIR/allow_attributes_without_reason.rs:6:1
17 LL | #[allow(dead_code, deprecated)]
18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 = help: try adding a reason at the end with `, reason = ".."`
22 error: aborting due to 2 previous errors