fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: unused attribute 2 --> $DIR/plugin-attr-register-deny.rs:14:5 3 | 4LL | #[bar] 5 | ^^^^^^ 6 | 7note: lint level defined here 8 --> $DIR/plugin-attr-register-deny.rs:6:9 9 | 10LL | #![deny(unused_attributes)] 11 | ^^^^^^^^^^^^^^^^^ 12 13error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` 14 --> $DIR/plugin-attr-register-deny.rs:14:5 15 | 16LL | #[bar] 17 | ^^^^^^ 18 19error: unused attribute 20 --> $DIR/plugin-attr-register-deny.rs:11:1 21 | 22LL | #[foo] 23 | ^^^^^^ 24 25error: aborting due to 3 previous errors 26