]>
Commit | Line | Data |
---|---|---|
48663c56 | 1 | error[E0658]: generic associated types are unstable |
0731742a | 2 | --> $DIR/feature-gate-generic_associated_types.rs:4:5 |
ff7c6d11 | 3 | | |
0531ce1d | 4 | LL | type Pointer<T>: Deref<Target = T>; |
ff7c6d11 XL |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
6 | | | |
74b04a01 | 7 | = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information |
416331ca | 8 | = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable |
ff7c6d11 | 9 | |
48663c56 | 10 | error[E0658]: generic associated types are unstable |
f035d41b | 11 | --> $DIR/feature-gate-generic_associated_types.rs:6:5 |
ff7c6d11 | 12 | | |
0531ce1d XL |
13 | LL | type Pointer2<T>: Deref<Target = T> where T: Clone, U: Clone; |
14 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
15 | | | |
74b04a01 | 16 | = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information |
416331ca | 17 | = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable |
0531ce1d | 18 | |
48663c56 | 19 | error[E0658]: where clauses on associated types are unstable |
f035d41b | 20 | --> $DIR/feature-gate-generic_associated_types.rs:6:5 |
0531ce1d XL |
21 | | |
22 | LL | type Pointer2<T>: Deref<Target = T> where T: Clone, U: Clone; | |
ff7c6d11 XL |
23 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
24 | | | |
74b04a01 | 25 | = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information |
416331ca | 26 | = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable |
ff7c6d11 | 27 | |
48663c56 | 28 | error[E0658]: generic associated types are unstable |
f035d41b | 29 | --> $DIR/feature-gate-generic_associated_types.rs:14:5 |
ff7c6d11 | 30 | | |
0731742a | 31 | LL | type Pointer<Usize> = Box<Usize>; |
ff7c6d11 XL |
32 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
33 | | | |
74b04a01 | 34 | = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information |
416331ca | 35 | = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable |
ff7c6d11 | 36 | |
48663c56 | 37 | error[E0658]: generic associated types are unstable |
f035d41b | 38 | --> $DIR/feature-gate-generic_associated_types.rs:16:5 |
ff7c6d11 | 39 | | |
0731742a | 40 | LL | type Pointer2<U32> = Box<U32>; |
ff7c6d11 XL |
41 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
42 | | | |
74b04a01 | 43 | = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information |
416331ca | 44 | = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable |
ff7c6d11 | 45 | |
48663c56 | 46 | error[E0658]: where clauses on associated types are unstable |
f035d41b | 47 | --> $DIR/feature-gate-generic_associated_types.rs:21:5 |
0531ce1d XL |
48 | | |
49 | LL | type Assoc where Self: Sized; | |
50 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
51 | | | |
74b04a01 | 52 | = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information |
416331ca | 53 | = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable |
0531ce1d | 54 | |
48663c56 | 55 | error[E0658]: where clauses on associated types are unstable |
f035d41b | 56 | --> $DIR/feature-gate-generic_associated_types.rs:26:5 |
8faf50e0 XL |
57 | | |
58 | LL | type Assoc where Self: Sized = Foo; | |
59 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
60 | | | |
74b04a01 | 61 | = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information |
416331ca | 62 | = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable |
8faf50e0 | 63 | |
f035d41b | 64 | error: aborting due to 7 previous errors |
ff7c6d11 | 65 | |
0531ce1d | 66 | For more information about this error, try `rustc --explain E0658`. |