]> git.proxmox.com Git - rustc.git/blob - src/test/ui/invalid/invalid-plugin-attr.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / invalid / invalid-plugin-attr.stderr
1 warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
2 --> $DIR/invalid-plugin-attr.rs:4:1
3 |
4 LL | #[plugin(bla)]
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/invalid-plugin-attr.rs:4:1
11 |
12 LL | #[plugin(bla)]
13 | ^^^^^^^^^^^^^^
14 |
15 note: the lint level is defined here
16 --> $DIR/invalid-plugin-attr.rs:1: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/invalid-plugin-attr.rs:4:1
23 |
24 LL | #[plugin(bla)]
25 | ^^^^^^^^^^^^^^
26
27 error: aborting due to 2 previous errors
28