fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
922 B34 linesraw
1warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
2  --> $DIR/plugin-attr-register-deny.rs:5:1
3   |
4LL | #![plugin(attr_plugin_test)]
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
6   |
7   = note: `#[warn(deprecated)]` on by default
8
9error: unused attribute
10  --> $DIR/plugin-attr-register-deny.rs:15:5
11   |
12LL |     #[bar]
13   |     ^^^^^^
14   |
15note: lint level defined here
16  --> $DIR/plugin-attr-register-deny.rs:7:9
17   |
18LL | #![deny(unused_attributes)]
19   |         ^^^^^^^^^^^^^^^^^
20
21error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
22  --> $DIR/plugin-attr-register-deny.rs:15:5
23   |
24LL |     #[bar]
25   |     ^^^^^^
26
27error: unused attribute
28  --> $DIR/plugin-attr-register-deny.rs:12:1
29   |
30LL | #[foo]
31   | ^^^^^^
32
33error: aborting due to 3 previous errors
34