1 error: useless lint attribute
2 --> $DIR/useless_attribute.rs:5:1
4 5 | #[allow(dead_code)] //~ ERROR useless lint attribute
7 note: lint level defined here
8 --> $DIR/useless_attribute.rs:3:9
10 3 | #![deny(useless_attribute)]
12 help: if you just forgot a `!`, use
13 | #![allow(dead_code)] //~ ERROR useless lint attribute
15 error: aborting due to previous error