]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/plugin-attr-register-deny.stderr
Add test for issue 63116
[rust.git] / src / test / ui-fulldeps / plugin-attr-register-deny.stderr
1 warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
2   --> $DIR/plugin-attr-register-deny.rs:5:1
3    |
4 LL | #![plugin(attr_plugin_test)]
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
6    |
7    = note: `#[warn(deprecated)]` on by default
8
9 error: unused attribute
10   --> $DIR/plugin-attr-register-deny.rs:15:5
11    |
12 LL |     #[bar]
13    |     ^^^^^^
14    |
15 note: lint level defined here
16   --> $DIR/plugin-attr-register-deny.rs:7:9
17    |
18 LL | #![deny(unused_attributes)]
19    |         ^^^^^^^^^^^^^^^^^
20
21 error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
22   --> $DIR/plugin-attr-register-deny.rs:15:5
23    |
24 LL |     #[bar]
25    |     ^^^^^^
26
27 error: unused attribute
28   --> $DIR/plugin-attr-register-deny.rs:12:1
29    |
30 LL | #[foo]
31    | ^^^^^^
32
33 error: aborting due to 3 previous errors
34