1 error[E0658]: generic associated types are unstable (see issue #44265)
2 --> $DIR/feature-gate-generic_associated_types.rs:14:5
4 LL | type Pointer<T>: Deref<Target = T>;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = help: add #![feature(generic_associated_types)] to the crate attributes to enable
9 error[E0658]: generic associated types are unstable (see issue #44265)
10 --> $DIR/feature-gate-generic_associated_types.rs:16:5
12 LL | type Pointer2<T>: Deref<Target = T> where T: Clone, U: Clone;
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 = help: add #![feature(generic_associated_types)] to the crate attributes to enable
17 error[E0658]: where clauses on associated types are unstable (see issue #44265)
18 --> $DIR/feature-gate-generic_associated_types.rs:16:5
20 LL | type Pointer2<T>: Deref<Target = T> where T: Clone, U: Clone;
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23 = help: add #![feature(generic_associated_types)] to the crate attributes to enable
25 error[E0658]: generic associated types are unstable (see issue #44265)
26 --> $DIR/feature-gate-generic_associated_types.rs:23:5
28 LL | type Pointer<usize> = Box<usize>;
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31 = help: add #![feature(generic_associated_types)] to the crate attributes to enable
33 error[E0658]: generic associated types are unstable (see issue #44265)
34 --> $DIR/feature-gate-generic_associated_types.rs:25:5
36 LL | type Pointer2<u32> = Box<u32>;
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39 = help: add #![feature(generic_associated_types)] to the crate attributes to enable
41 error[E0658]: where clauses on associated types are unstable (see issue #44265)
42 --> $DIR/feature-gate-generic_associated_types.rs:30:5
44 LL | type Assoc where Self: Sized;
45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47 = help: add #![feature(generic_associated_types)] to the crate attributes to enable
49 error: aborting due to 6 previous errors
51 For more information about this error, try `rustc --explain E0658`.