fork/rust

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

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

1.39.0
2.1 KiB46 linesraw
1warning: attribute must be of the form `#[doc(hidden|inline|...)]` or `#[doc = "string"]`
2  --> $DIR/malformed-regressions.rs:3:1
3   |
4LL | #[doc]
5   | ^^^^^^
6   |
7   = note: `#[warn(ill_formed_attribute_input)]` on by default
8   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9   = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
10
11warning: attribute must be of the form `#[ignore]` or `#[ignore = "reason"]`
12  --> $DIR/malformed-regressions.rs:4:1
13   |
14LL | #[ignore()]
15   | ^^^^^^^^^^^
16   |
17   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
18   = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
19
20warning: attribute must be of the form `#[inline]` or `#[inline(always|never)]`
21  --> $DIR/malformed-regressions.rs:5:1
22   |
23LL | #[inline = ""]
24   | ^^^^^^^^^^^^^^
25   |
26   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
27   = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
28
29warning: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]`
30  --> $DIR/malformed-regressions.rs:6:1
31   |
32LL | #[link]
33   | ^^^^^^^
34   |
35   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
36   = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
37
38warning: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]`
39  --> $DIR/malformed-regressions.rs:7:1
40   |
41LL | #[link = ""]
42   | ^^^^^^^^^^^^
43   |
44   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
45   = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
46