]> git.proxmox.com Git - rustc.git/blob - src/test/ui/malformed/malformed-regressions.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / malformed / malformed-regressions.stderr
1 error: attribute must be of the form `#[doc(hidden|inline|...)]` or `#[doc = "string"]`
2 --> $DIR/malformed-regressions.rs:1:1
3 |
4 LL | #[doc]
5 | ^^^^^^
6 |
7 = note: `#[deny(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
11 error: attribute must be of the form `#[ignore]` or `#[ignore = "reason"]`
12 --> $DIR/malformed-regressions.rs:3:1
13 |
14 LL | #[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
20 error: attribute must be of the form `#[inline]` or `#[inline(always|never)]`
21 --> $DIR/malformed-regressions.rs:5:1
22 |
23 LL | #[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
29 error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]`
30 --> $DIR/malformed-regressions.rs:7:1
31 |
32 LL | #[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
38 error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]`
39 --> $DIR/malformed-regressions.rs:9:1
40 |
41 LL | #[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
47 error: aborting due to 5 previous errors
48