]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-generic_associated_types.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / feature-gates / feature-gate-generic_associated_types.stderr
1 error[E0658]: generic associated types are unstable (see issue #44265)
2   --> $DIR/feature-gate-generic_associated_types.rs:14:5
3    |
4 LL |     type Pointer<T>: Deref<Target = T>;
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: add #![feature(generic_associated_types)] to the crate attributes to enable
8
9 error[E0658]: generic associated types are unstable (see issue #44265)
10   --> $DIR/feature-gate-generic_associated_types.rs:16:5
11    |
12 LL |     type Pointer2<T>: Deref<Target = T> where T: Clone, U: Clone;
13    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14    |
15    = help: add #![feature(generic_associated_types)] to the crate attributes to enable
16
17 error[E0658]: where clauses on associated types are unstable (see issue #44265)
18   --> $DIR/feature-gate-generic_associated_types.rs:16:5
19    |
20 LL |     type Pointer2<T>: Deref<Target = T> where T: Clone, U: Clone;
21    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22    |
23    = help: add #![feature(generic_associated_types)] to the crate attributes to enable
24
25 error[E0658]: generic associated types are unstable (see issue #44265)
26   --> $DIR/feature-gate-generic_associated_types.rs:23:5
27    |
28 LL |     type Pointer<usize> = Box<usize>;
29    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30    |
31    = help: add #![feature(generic_associated_types)] to the crate attributes to enable
32
33 error[E0658]: generic associated types are unstable (see issue #44265)
34   --> $DIR/feature-gate-generic_associated_types.rs:25:5
35    |
36 LL |     type Pointer2<u32> = Box<u32>;
37    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38    |
39    = help: add #![feature(generic_associated_types)] to the crate attributes to enable
40
41 error[E0658]: where clauses on associated types are unstable (see issue #44265)
42   --> $DIR/feature-gate-generic_associated_types.rs:30:5
43    |
44 LL |     type Assoc where Self: Sized;
45    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46    |
47    = help: add #![feature(generic_associated_types)] to the crate attributes to enable
48
49 error: aborting due to 6 previous errors
50
51 For more information about this error, try `rustc --explain E0658`.