fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
470 B20 linesraw
1error: unused attribute
2  --> $DIR/invalid-plugin-attr.rs:4:1
3   |
4LL | #[plugin(bla)]
5   | ^^^^^^^^^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/invalid-plugin-attr.rs:1:9
9   |
10LL | #![deny(unused_attributes)]
11   |         ^^^^^^^^^^^^^^^^^
12
13error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
14  --> $DIR/invalid-plugin-attr.rs:4:1
15   |
16LL | #[plugin(bla)]
17   | ^^^^^^^^^^^^^^
18
19error: aborting due to 2 previous errors
20