@@ -309,15 +309,6 @@ LL | #[link]
309309   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
310310   = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
311311
312- error: valid forms for the attribute are `#[ignore]` and `#[ignore = "reason"]`
313-   --> $DIR/malformed-attrs.rs:93:1
314-    |
315- LL | #[ignore()]
316-    | ^^^^^^^^^^^
317-    |
318-    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
319-    = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
320- 
321312error: invalid argument
322313  --> $DIR/malformed-attrs.rs:187:1
323314   |
@@ -600,6 +591,24 @@ LL | #[inline = 5]
600591   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
601592   = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
602593
594+ error: valid forms for the attribute are `#[ignore = "reason"]` and `#[ignore]`
595+   --> $DIR/malformed-attrs.rs:93:1
596+    |
597+ LL | #[ignore()]
598+    | ^^^^^^^^^^^
599+    |
600+    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
601+    = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
602+ 
603+ error: valid forms for the attribute are `#[ignore = "reason"]` and `#[ignore]`
604+   --> $DIR/malformed-attrs.rs:222:1
605+    |
606+ LL | #[ignore = 1]
607+    | ^^^^^^^^^^^^^
608+    |
609+    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
610+    = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
611+ 
603612error[E0308]: mismatched types
604613  --> $DIR/malformed-attrs.rs:110:23
605614   |
@@ -611,7 +620,7 @@ LL |     #[coroutine = 63] || {}
611620   = note: expected unit type `()`
612621              found coroutine `{coroutine@$DIR/malformed-attrs.rs:110:23: 110:25}`
613622
614- error: aborting due to 73  previous errors; 3 warnings emitted
623+ error: aborting due to 74  previous errors; 3 warnings emitted
615624
616625Some errors have detailed explanations: E0308, E0463, E0539, E0565, E0658, E0805.
617626For more information about an error, try `rustc --explain E0308`.
0 commit comments