]> git.lizzy.rs Git - rust.git/blob - tests/ui/useless_attribute.stderr
rustup and compile-fail -> ui test move
[rust.git] / tests / ui / useless_attribute.stderr
1 error: useless lint attribute
2  --> $DIR/useless_attribute.rs:5:1
3   |
4 5 | #[allow(dead_code)] //~ ERROR useless lint attribute
5   | ^^^^^^^^^^^^^^^^^^^
6   |
7 note: lint level defined here
8  --> $DIR/useless_attribute.rs:3:9
9   |
10 3 | #![deny(useless_attribute)]
11   |         ^^^^^^^^^^^^^^^^^
12 help: if you just forgot a `!`, use
13   | #![allow(dead_code)] //~ ERROR useless lint attribute
14
15 error: aborting due to previous error
16