@@ -51,30 +51,42 @@ LL | #![feature(generic_associated_types)]
51
51
= note: `#[warn(incomplete_features)]` on by default
52
52
= note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
53
53
54
- error[E0202 ]: associated types are not yet supported in inherent impls (see #8995)
54
+ error[E0658 ]: inherent associated types are unstable
55
55
--> $DIR/impl-item-type-no-body-semantic-fail.rs:9:5
56
56
|
57
57
LL | type Y;
58
58
| ^^^^^^^
59
+ |
60
+ = note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information
61
+ = help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable
59
62
60
- error[E0202 ]: associated types are not yet supported in inherent impls (see #8995)
63
+ error[E0658 ]: inherent associated types are unstable
61
64
--> $DIR/impl-item-type-no-body-semantic-fail.rs:12:5
62
65
|
63
66
LL | type Z: Ord;
64
67
| ^^^^^^^^^^^^
68
+ |
69
+ = note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information
70
+ = help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable
65
71
66
- error[E0202 ]: associated types are not yet supported in inherent impls (see #8995)
72
+ error[E0658 ]: inherent associated types are unstable
67
73
--> $DIR/impl-item-type-no-body-semantic-fail.rs:16:5
68
74
|
69
75
LL | type W: Ord where Self: Eq;
70
76
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
77
+ |
78
+ = note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information
79
+ = help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable
71
80
72
- error[E0202 ]: associated types are not yet supported in inherent impls (see #8995)
81
+ error[E0658 ]: inherent associated types are unstable
73
82
--> $DIR/impl-item-type-no-body-semantic-fail.rs:20:5
74
83
|
75
84
LL | type W where Self: Eq;
76
85
| ^^^^^^^^^^^^^^^^^^^^^^
86
+ |
87
+ = note: see issue #8995 <https://github.com/rust-lang/rust/issues/8995> for more information
88
+ = help: add `#![feature(inherent_associated_types)]` to the crate attributes to enable
77
89
78
90
error: aborting due to 10 previous errors; 1 warning emitted
79
91
80
- For more information about this error, try `rustc --explain E0202 `.
92
+ For more information about this error, try `rustc --explain E0658 `.
0 commit comments