]>
Commit | Line | Data |
---|---|---|
e74abb32 XL |
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 | ||
b7449926 | 9 | error: unused attribute |
0731742a | 10 | --> $DIR/invalid-plugin-attr.rs:4:1 |
b7449926 | 11 | | |
532ac7d7 | 12 | LL | #[plugin(bla)] |
b7449926 XL |
13 | | ^^^^^^^^^^^^^^ |
14 | | | |
74b04a01 | 15 | note: the lint level is defined here |
0731742a | 16 | --> $DIR/invalid-plugin-attr.rs:1:9 |
b7449926 XL |
17 | | |
18 | LL | #![deny(unused_attributes)] | |
19 | | ^^^^^^^^^^^^^^^^^ | |
20 | ||
416331ca | 21 | error: 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 | 24 | LL | #[plugin(bla)] |
b7449926 XL |
25 | | ^^^^^^^^^^^^^^ |
26 | ||
ba9703b0 | 27 | error: aborting due to 2 previous errors; 1 warning emitted |
b7449926 | 28 |