]> git.proxmox.com Git - rustc.git/blame - src/test/ui/malformed/malformed-regressions.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / malformed / malformed-regressions.stderr
CommitLineData
60c5eb7d
XL
1error: attribute must be of the form `#[doc(hidden|inline|...)]` or `#[doc = "string"]`
2 --> $DIR/malformed-regressions.rs:1:1
9fa01778 3 |
532ac7d7 4LL | #[doc]
9fa01778
XL
5 | ^^^^^^
6 |
9fa01778
XL
7 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
8 = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
2b03887a 9 = note: `#[deny(ill_formed_attribute_input)]` on by default
9fa01778 10
60c5eb7d
XL
11error: attribute must be of the form `#[ignore]` or `#[ignore = "reason"]`
12 --> $DIR/malformed-regressions.rs:3:1
9fa01778 13 |
532ac7d7 14LL | #[ignore()]
9fa01778
XL
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
60c5eb7d
XL
20error: attribute must be of the form `#[inline]` or `#[inline(always|never)]`
21 --> $DIR/malformed-regressions.rs:5:1
9fa01778 22 |
532ac7d7 23LL | #[inline = ""]
9fa01778
XL
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
f2b60f7d 29error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]`
60c5eb7d 30 --> $DIR/malformed-regressions.rs:7:1
9fa01778 31 |
532ac7d7 32LL | #[link]
9fa01778
XL
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
f2b60f7d 38error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]`
60c5eb7d 39 --> $DIR/malformed-regressions.rs:9:1
9fa01778 40 |
532ac7d7 41LL | #[link = ""]
9fa01778
XL
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
60c5eb7d
XL
47error: aborting due to 5 previous errors
48