@@ -23,29 +23,37 @@ LL | type Pointer2<T>: Deref<Target = T> where T: Clone, U: Clone;
2323 = help: add #![feature(generic_associated_types)] to the crate attributes to enable
2424
2525error[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
2727 |
2828LL | type Pointer<usize> = Box<usize>;
2929 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3030 |
3131 = help: add #![feature(generic_associated_types)] to the crate attributes to enable
3232
3333error[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
3535 |
3636LL | type Pointer2<u32> = Box<u32>;
3737 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3838 |
3939 = help: add #![feature(generic_associated_types)] to the crate attributes to enable
4040
4141error[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
4343 |
4444LL | type Assoc where Self: Sized;
4545 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4646 |
4747 = help: add #![feature(generic_associated_types)] to the crate attributes to enable
4848
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
5058
5159For more information about this error, try `rustc --explain E0658`.
0 commit comments