fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
785 B28 linesraw
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
9error: unused attribute
10  --> $DIR/invalid-plugin-attr.rs:4:1
11   |
12LL | #[plugin(bla)]
13   | ^^^^^^^^^^^^^^
14   |
15note: lint level defined here
16  --> $DIR/invalid-plugin-attr.rs:1:9
17   |
18LL | #![deny(unused_attributes)]
19   |         ^^^^^^^^^^^^^^^^^
20
21error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
22  --> $DIR/invalid-plugin-attr.rs:4:1
23   |
24LL | #[plugin(bla)]
25   | ^^^^^^^^^^^^^^
26
27error: aborting due to 2 previous errors
28