]> git.proxmox.com Git - rustc.git/blame - src/test/ui/attributes/register-attr-tool-unused.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / attributes / register-attr-tool-unused.stderr
CommitLineData
94222f64 1error: 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 |
4LL | #[register_attr(attr)]
5 | ^^^^^^^^^^^^^^^^^^^^^^
6 |
74b04a01 7note: the lint level is defined here
60c5eb7d
XL
8 --> $DIR/register-attr-tool-unused.rs:1:9
9 |
10LL | #![deny(unused)]
11 | ^^^^^^
12 = note: `#[deny(unused_attributes)]` implied by `#[deny(unused)]`
13
14error: 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 |
17LL | #[register_tool(tool)]
18 | ^^^^^^^^^^^^^^^^^^^^^^
19
94222f64 20error: aborting due to 2 previous errors
60c5eb7d 21