1 warning: the feature `generic_associated_types` is incomplete and may cause the compiler to crash
2 --> $DIR/pointer_family.rs:11:12
4 LL | #![feature(generic_associated_types)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 error[E0109]: type parameters are not allowed on this type
8 --> $DIR/pointer_family.rs:47:21
10 LL | bar: P::Pointer<String>,
11 | ^^^^^^ type parameter not allowed
13 error[E0109]: type parameters are not allowed on this type
14 --> $DIR/pointer_family.rs:22:42
16 LL | fn new<T>(value: T) -> Self::Pointer<T>;
17 | ^ type parameter not allowed
19 error[E0109]: type parameters are not allowed on this type
20 --> $DIR/pointer_family.rs:30:42
22 LL | fn new<T>(value: T) -> Self::Pointer<T> {
23 | ^ type parameter not allowed
25 error[E0109]: type parameters are not allowed on this type
26 --> $DIR/pointer_family.rs:40:42
28 LL | fn new<T>(value: T) -> Self::Pointer<T> {
29 | ^ type parameter not allowed
31 error: aborting due to 4 previous errors
33 For more information about this error, try `rustc --explain E0109`.