@@ -23,29 +23,37 @@ LL | type Pointer2<T>: Deref<Target = T> where T: Clone, U: Clone;
23
23
= help: add #![feature(generic_associated_types)] to the crate attributes to enable
24
24
25
25
error[E0658]: generic associated types are unstable (see issue #44265)
26
- --> $DIR/feature-gate-generic_associated_types.rs:23 :5
26
+ --> $DIR/feature-gate-generic_associated_types.rs:24 :5
27
27
|
28
28
LL | type Pointer<usize> = Box<usize>;
29
29
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
30
|
31
31
= help: add #![feature(generic_associated_types)] to the crate attributes to enable
32
32
33
33
error[E0658]: generic associated types are unstable (see issue #44265)
34
- --> $DIR/feature-gate-generic_associated_types.rs:25 :5
34
+ --> $DIR/feature-gate-generic_associated_types.rs:26 :5
35
35
|
36
36
LL | type Pointer2<u32> = Box<u32>;
37
37
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38
38
|
39
39
= help: add #![feature(generic_associated_types)] to the crate attributes to enable
40
40
41
41
error[E0658]: where clauses on associated types are unstable (see issue #44265)
42
- --> $DIR/feature-gate-generic_associated_types.rs:30 :5
42
+ --> $DIR/feature-gate-generic_associated_types.rs:31 :5
43
43
|
44
44
LL | type Assoc where Self: Sized;
45
45
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46
46
|
47
47
= help: add #![feature(generic_associated_types)] to the crate attributes to enable
48
48
49
- error: aborting due to 6 previous errors
49
+ error[E0658]: where clauses on associated types are unstable (see issue #44265)
50
+ --> $DIR/feature-gate-generic_associated_types.rs:36:5
51
+ |
52
+ LL | type Assoc where Self: Sized = Foo;
53
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54
+ |
55
+ = help: add #![feature(generic_associated_types)] to the crate attributes to enable
56
+
57
+ error: aborting due to 7 previous errors
50
58
51
59
For more information about this error, try `rustc --explain E0658`.
0 commit comments