]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/plugin-attr-register-deny.stderr
Auto merge of #61817 - eddyb:begone-gcx-attempt-2, r=oli-obk
[rust.git] / src / test / ui-fulldeps / plugin-attr-register-deny.stderr
1 error: unused attribute
2   --> $DIR/plugin-attr-register-deny.rs:14:5
3    |
4 LL |     #[bar]
5    |     ^^^^^^
6    |
7 note: lint level defined here
8   --> $DIR/plugin-attr-register-deny.rs:6:9
9    |
10 LL | #![deny(unused_attributes)]
11    |         ^^^^^^^^^^^^^^^^^
12
13 error: crate-level attribute should be an inner attribute: add an exclamation mark: #![foo]
14   --> $DIR/plugin-attr-register-deny.rs:14:5
15    |
16 LL |     #[bar]
17    |     ^^^^^^
18
19 error: unused attribute
20   --> $DIR/plugin-attr-register-deny.rs:11:1
21    |
22 LL | #[foo]
23    | ^^^^^^
24
25 error: aborting due to 3 previous errors
26