@@ -136,20 +136,54 @@ LL - #[coverage(off(x, y, z))]
136136LL + #[coverage(on)]
137137 |
138138
139+ error[E0539]: malformed `rustc_abi` attribute input
140+ --> $DIR/args-checked.rs:22:1
141+ |
142+ LL | #[rustc_abi(debug = 5)]
143+ | ^^^^^^^^^^^-----------^
144+ | |
145+ | valid arguments are `assert_eq` or `debug`
146+ |
147+ help: try changing it to one of the following valid forms of the attribute
148+ |
149+ LL - #[rustc_abi(debug = 5)]
150+ LL + #[rustc_abi(assert_eq)]
151+ |
152+ LL - #[rustc_abi(debug = 5)]
153+ LL + #[rustc_abi(debug)]
154+ |
155+
156+ error[E0539]: malformed `rustc_abi` attribute input
157+ --> $DIR/args-checked.rs:24:1
158+ |
159+ LL | #[rustc_abi(debug(x, y, z))]
160+ | ^^^^^^^^^^^----------------^
161+ | |
162+ | valid arguments are `assert_eq` or `debug`
163+ |
164+ help: try changing it to one of the following valid forms of the attribute
165+ |
166+ LL - #[rustc_abi(debug(x, y, z))]
167+ LL + #[rustc_abi(assert_eq)]
168+ |
169+ LL - #[rustc_abi(debug(x, y, z))]
170+ LL + #[rustc_abi(debug)]
171+ |
172+
139173error: `rustc_allow_const_fn_unstable` expects feature names
140- --> $DIR/args-checked.rs:36 :33
174+ --> $DIR/args-checked.rs:40 :33
141175 |
142176LL | #[rustc_allow_const_fn_unstable(x = 5)]
143177 | ^^^^^
144178
145179error: `rustc_allow_const_fn_unstable` expects feature names
146- --> $DIR/args-checked.rs:38 :33
180+ --> $DIR/args-checked.rs:42 :33
147181 |
148182LL | #[rustc_allow_const_fn_unstable(x(x, y, z))]
149183 | ^^^^^^^^^^
150184
151185error[E0539]: malformed `used` attribute input
152- --> $DIR/args-checked.rs:42 :1
186+ --> $DIR/args-checked.rs:46 :1
153187 |
154188LL | #[used(always = 5)]
155189 | ^^^^^^^----------^^
@@ -169,7 +203,7 @@ LL + #[used]
169203 |
170204
171205error[E0539]: malformed `used` attribute input
172- --> $DIR/args-checked.rs:44 :1
206+ --> $DIR/args-checked.rs:48 :1
173207 |
174208LL | #[used(always(x, y, z))]
175209 | ^^^^^^^---------------^^
@@ -189,7 +223,7 @@ LL + #[used]
189223 |
190224
191225error[E0539]: malformed `rustc_must_implement_one_of` attribute input
192- --> $DIR/args-checked.rs:48 :1
226+ --> $DIR/args-checked.rs:52 :1
193227 |
194228LL | #[rustc_must_implement_one_of(eq = 5, neq)]
195229 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^
@@ -198,7 +232,7 @@ LL | #[rustc_must_implement_one_of(eq = 5, neq)]
198232 | help: must be of the form: `#[rustc_must_implement_one_of(function1, function2, ...)]`
199233
200234error[E0539]: malformed `rustc_must_implement_one_of` attribute input
201- --> $DIR/args-checked.rs:50 :1
235+ --> $DIR/args-checked.rs:54 :1
202236 |
203237LL | #[rustc_must_implement_one_of(eq(x, y, z), neq)]
204238 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^
@@ -207,23 +241,23 @@ LL | #[rustc_must_implement_one_of(eq(x, y, z), neq)]
207241 | help: must be of the form: `#[rustc_must_implement_one_of(function1, function2, ...)]`
208242
209243error[E0565]: malformed `rustc_dump_layout` attribute input
210- --> $DIR/args-checked.rs:56 :1
244+ --> $DIR/args-checked.rs:60 :1
211245 |
212246LL | #[rustc_dump_layout(debug = 5)]
213247 | ^^^^^^^^^^^^^^^^^^^^---------^^
214248 | |
215249 | didn't expect a literal here
216250
217251error[E0565]: malformed `rustc_dump_layout` attribute input
218- --> $DIR/args-checked.rs:58 :1
252+ --> $DIR/args-checked.rs:62 :1
219253 |
220254LL | #[rustc_dump_layout(debug(x, y, z))]
221255 | ^^^^^^^^^^^^^^^^^^^^--------------^^
222256 | |
223257 | didn't expect a literal here
224258
225259error: valid forms for the attribute are `#[macro_export(local_inner_macros)]` and `#[macro_export]`
226- --> $DIR/args-checked.rs:26 :1
260+ --> $DIR/args-checked.rs:30 :1
227261 |
228262LL | #[macro_export(local_inner_macros = 5)]
229263 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -233,21 +267,21 @@ LL | #[macro_export(local_inner_macros = 5)]
233267 = note: `#[deny(invalid_macro_export_arguments)]` (part of `#[deny(future_incompatible)]`) on by default
234268
235269error: valid forms for the attribute are `#[macro_export(local_inner_macros)]` and `#[macro_export]`
236- --> $DIR/args-checked.rs:29 :1
270+ --> $DIR/args-checked.rs:33 :1
237271 |
238272LL | #[macro_export(local_inner_macros(x, y, z))]
239273 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
240274 |
241275 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
242276 = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
243277
244- error: aborting due to 18 previous errors
278+ error: aborting due to 20 previous errors
245279
246280Some errors have detailed explanations: E0539, E0565.
247281For more information about an error, try `rustc --explain E0539`.
248282Future incompatibility report: Future breakage diagnostic:
249283error: valid forms for the attribute are `#[macro_export(local_inner_macros)]` and `#[macro_export]`
250- --> $DIR/args-checked.rs:26 :1
284+ --> $DIR/args-checked.rs:30 :1
251285 |
252286LL | #[macro_export(local_inner_macros = 5)]
253287 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -258,7 +292,7 @@ LL | #[macro_export(local_inner_macros = 5)]
258292
259293Future breakage diagnostic:
260294error: valid forms for the attribute are `#[macro_export(local_inner_macros)]` and `#[macro_export]`
261- --> $DIR/args-checked.rs:29 :1
295+ --> $DIR/args-checked.rs:33 :1
262296 |
263297LL | #[macro_export(local_inner_macros(x, y, z))]
264298 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments