You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: valid forms for the attribute are `#[doc(hidden|inline|...)]` and `#[doc = "string"]`
662
+
--> $DIR/malformed-attrs.rs:44:1
663
+
|
664
+
LL | #[doc]
665
+
| ^^^^^^
666
+
|
667
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
668
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
669
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
670
+
671
+
Future breakage diagnostic:
672
+
error: valid forms for the attribute are `#[doc(hidden|inline|...)]` and `#[doc = "string"]`
673
+
--> $DIR/malformed-attrs.rs:77:1
674
+
|
675
+
LL | #[doc]
676
+
| ^^^^^^
677
+
|
678
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
679
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
680
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
681
+
682
+
Future breakage diagnostic:
683
+
error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]`
684
+
--> $DIR/malformed-attrs.rs:84:1
685
+
|
686
+
LL | #[link]
687
+
| ^^^^^^^
688
+
|
689
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
690
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
691
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
692
+
693
+
Future breakage diagnostic:
694
+
error: valid forms for the attribute are `#[inline(always|never)]` and `#[inline]`
695
+
--> $DIR/malformed-attrs.rs:54:1
696
+
|
697
+
LL | #[inline = 5]
698
+
| ^^^^^^^^^^^^^
699
+
|
700
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
701
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
702
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
703
+
704
+
Future breakage diagnostic:
705
+
error: valid forms for the attribute are `#[ignore = "reason"]` and `#[ignore]`
706
+
--> $DIR/malformed-attrs.rs:95:1
707
+
|
708
+
LL | #[ignore()]
709
+
| ^^^^^^^^^^^
710
+
|
711
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
712
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
713
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
714
+
715
+
Future breakage diagnostic:
716
+
error: valid forms for the attribute are `#[ignore = "reason"]` and `#[ignore]`
717
+
--> $DIR/malformed-attrs.rs:224:1
718
+
|
719
+
LL | #[ignore = 1]
720
+
| ^^^^^^^^^^^^^
721
+
|
722
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
723
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
724
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]`
24
+
--> $DIR/link-attr-validation-early.rs:2:1
25
+
|
26
+
LL | #[link]
27
+
| ^^^^^^^
28
+
|
29
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
30
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
31
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
32
+
33
+
Future breakage diagnostic:
34
+
error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]`
35
+
--> $DIR/link-attr-validation-early.rs:4:1
36
+
|
37
+
LL | #[link = "foo"]
38
+
| ^^^^^^^^^^^^^^^
39
+
|
40
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
41
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
42
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
error: valid forms for the attribute are `#[doc(hidden|inline|...)]` and `#[doc = "string"]`
51
+
--> $DIR/malformed-regressions.rs:1:1
52
+
|
53
+
LL | #[doc]
54
+
| ^^^^^^
55
+
|
56
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
57
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
58
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
59
+
60
+
Future breakage diagnostic:
61
+
error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]`
62
+
--> $DIR/malformed-regressions.rs:7:1
63
+
|
64
+
LL | #[link]
65
+
| ^^^^^^^
66
+
|
67
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
68
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
69
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
70
+
71
+
Future breakage diagnostic:
72
+
error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]`
73
+
--> $DIR/malformed-regressions.rs:9:1
74
+
|
75
+
LL | #[link = ""]
76
+
| ^^^^^^^^^^^^
77
+
|
78
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
79
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
80
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
81
+
82
+
Future breakage diagnostic:
83
+
error: valid forms for the attribute are `#[ignore = "reason"]` and `#[ignore]`
84
+
--> $DIR/malformed-regressions.rs:3:1
85
+
|
86
+
LL | #[ignore()]
87
+
| ^^^^^^^^^^^
88
+
|
89
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
90
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
91
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
92
+
93
+
Future breakage diagnostic:
94
+
error: valid forms for the attribute are `#[inline(always|never)]` and `#[inline]`
95
+
--> $DIR/malformed-regressions.rs:5:1
96
+
|
97
+
LL | #[inline = ""]
98
+
| ^^^^^^^^^^^^^^
99
+
|
100
+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
101
+
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
102
+
= note: `#[deny(ill_formed_attribute_input)]` on by default
0 commit comments