]>
Commit | Line | Data |
---|---|---|
94222f64 | 1 | error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` |
60c5eb7d XL |
2 | --> $DIR/register-attr-tool-unused.rs:6:1 |
3 | | | |
4 | LL | #[register_attr(attr)] | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
6 | | | |
74b04a01 | 7 | note: the lint level is defined here |
60c5eb7d XL |
8 | --> $DIR/register-attr-tool-unused.rs:1:9 |
9 | | | |
10 | LL | #![deny(unused)] | |
11 | | ^^^^^^ | |
12 | = note: `#[deny(unused_attributes)]` implied by `#[deny(unused)]` | |
13 | ||
14 | error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` | |
94222f64 | 15 | --> $DIR/register-attr-tool-unused.rs:7:1 |
60c5eb7d XL |
16 | | |
17 | LL | #[register_tool(tool)] | |
18 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
19 | ||
94222f64 | 20 | error: aborting due to 2 previous errors |
60c5eb7d | 21 |