]> git.proxmox.com Git - rustc.git/blame - src/test/ui/invalid/invalid-plugin-attr.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / invalid / invalid-plugin-attr.stderr
CommitLineData
e74abb32
XL
1warning: 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 |
4LL | #[plugin(bla)]
5 | ^^^^^^^^^^^^^^ help: may be removed in a future compiler version
6 |
7 = note: `#[warn(deprecated)]` on by default
8
b7449926 9error: unused attribute
0731742a 10 --> $DIR/invalid-plugin-attr.rs:4:1
b7449926 11 |
532ac7d7 12LL | #[plugin(bla)]
b7449926
XL
13 | ^^^^^^^^^^^^^^
14 |
74b04a01 15note: the lint level is defined here
0731742a 16 --> $DIR/invalid-plugin-attr.rs:1:9
b7449926
XL
17 |
18LL | #![deny(unused_attributes)]
19 | ^^^^^^^^^^^^^^^^^
20
416331ca 21error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
0731742a 22 --> $DIR/invalid-plugin-attr.rs:4:1
b7449926 23 |
532ac7d7 24LL | #[plugin(bla)]
b7449926
XL
25 | ^^^^^^^^^^^^^^
26
ba9703b0 27error: aborting due to 2 previous errors; 1 warning emitted
b7449926 28