1 warning: the feature `generic_associated_types` is incomplete and may cause the compiler to crash
2 --> $DIR/collections.rs:11:12
4 LL | #![feature(generic_associated_types)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 error[E0109]: type parameters are not allowed on this type
8 --> $DIR/collections.rs:66:90
10 LL | fn floatify<C>(ints: &C) -> <<C as Collection<i32>>::Family as CollectionFamily>::Member<f32>
11 | ^^^ type parameter not allowed
13 error[E0109]: type parameters are not allowed on this type
14 --> $DIR/collections.rs:78:69
16 LL | fn floatify_sibling<C>(ints: &C) -> <C as Collection<i32>>::Sibling<f32>
17 | ^^^ type parameter not allowed
19 error[E0109]: type parameters are not allowed on this type
20 --> $DIR/collections.rs:27:71
22 LL | <<Self as Collection<T>>::Family as CollectionFamily>::Member<U>;
23 | ^ type parameter not allowed
25 error[E0110]: lifetime parameters are not allowed on this type
26 --> $DIR/collections.rs:34:50
28 LL | fn iterate<'iter>(&'iter self) -> Self::Iter<'iter>;
29 | ^^^^^ lifetime parameter not allowed
31 error[E0110]: lifetime parameters are not allowed on this type
32 --> $DIR/collections.rs:60:50
34 LL | fn iterate<'iter>(&'iter self) -> Self::Iter<'iter> {
35 | ^^^^^ lifetime parameter not allowed
37 error: aborting due to 5 previous errors
39 Some errors occurred: E0109, E0110.
40 For more information about an error, try `rustc --explain E0109`.