]> git.lizzy.rs Git - rust.git/blob - src/test/ui/invalid/invalid-plugin-attr.stderr
Rollup merge of #105615 - WaffleLapkin:remove_opt_scope_span_mention, r=compiler...
[rust.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: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
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: aborting due to previous error; 1 warning emitted
22