error: unused attribute | |
--> $DIR/lint-unknown-attr.rs:9:1 | |
| | |
LL | #[dance] mod a {} | |
| ^^^^^^^^ | |
| | |
note: lint level defined here | |
--> $DIR/lint-unknown-attr.rs:5:9 | |
| | |
LL | #![deny(unused_attributes)] | |
| ^^^^^^^^^^^^^^^^^ | |
error: unused attribute | |
--> $DIR/lint-unknown-attr.rs:11:1 | |
| | |
LL | #[dance] fn main() {} | |
| ^^^^^^^^ | |
error: unused attribute | |
--> $DIR/lint-unknown-attr.rs:7:1 | |
| | |
LL | #![mutable_doc] | |
| ^^^^^^^^^^^^^^^ | |
error: aborting due to 3 previous errors | |