1 error: `#[macro_use]` only has an effect on `extern crate` and modules
2 --> $DIR/unused-attr-macro-rules.rs:7:1
7 note: the lint level is defined here
8 --> $DIR/unused-attr-macro-rules.rs:1:9
10 LL | #![deny(unused_attributes)]
13 error: `#[path]` only has an effect on modules
14 --> $DIR/unused-attr-macro-rules.rs:8:1
19 error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
20 --> $DIR/unused-attr-macro-rules.rs:9:1
22 LL | #[recursion_limit="1"]
23 | ^^^^^^^^^^^^^^^^^^^^^^
25 error: aborting due to 3 previous errors