@@ -309,15 +309,6 @@ LL | #[link]
309
309
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
310
310
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
311
311
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
-
321
312
error: invalid argument
322
313
--> $DIR/malformed-attrs.rs:187:1
323
314
|
@@ -600,6 +591,24 @@ LL | #[inline = 5]
600
591
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
601
592
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
602
593
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
+
603
612
error[E0308]: mismatched types
604
613
--> $DIR/malformed-attrs.rs:110:23
605
614
|
@@ -611,7 +620,7 @@ LL | #[coroutine = 63] || {}
611
620
= note: expected unit type `()`
612
621
found coroutine `{coroutine@$DIR/malformed-attrs.rs:110:23: 110:25}`
613
622
614
- error: aborting due to 73 previous errors; 3 warnings emitted
623
+ error: aborting due to 74 previous errors; 3 warnings emitted
615
624
616
625
Some errors have detailed explanations: E0308, E0463, E0539, E0565, E0658, E0805.
617
626
For more information about an error, try `rustc --explain E0308`.
0 commit comments