mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
15 lines
351 B
Plaintext
15 lines
351 B
Plaintext
error: useless lint attribute
|
|
--> $DIR/useless_attribute.rs:5:1
|
|
|
|
|
5 | #[allow(dead_code)]
|
|
| ^^^^^^^^^^^^^^^^^^^ help: if you just forgot a `!`, use `#![allow(dead_code)]`
|
|
|
|
|
note: lint level defined here
|
|
--> $DIR/useless_attribute.rs:3:9
|
|
|
|
|
3 | #![deny(useless_attribute)]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|