1 warning: the feature `generic_associated_types` is incomplete and may cause the compiler to crash
2 --> $DIR/iterable.rs:11:12
4 LL | #![feature(generic_associated_types)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 error[E0110]: lifetime parameters are not allowed on this type
8 --> $DIR/iterable.rs:21:47
10 LL | type Iter<'a>: Iterator<Item = Self::Item<'a>>;
11 | ^^ lifetime parameter not allowed
13 error[E0110]: lifetime parameters are not allowed on this type
14 --> $DIR/iterable.rs:50:53
16 LL | fn make_iter<'a, I: Iterable>(it: &'a I) -> I::Iter<'a> {
17 | ^^ lifetime parameter not allowed
19 error[E0110]: lifetime parameters are not allowed on this type
20 --> $DIR/iterable.rs:55:60
22 LL | fn get_first<'a, I: Iterable>(it: &'a I) -> Option<I::Item<'a>> {
23 | ^^ lifetime parameter not allowed
25 error[E0110]: lifetime parameters are not allowed on this type
26 --> $DIR/iterable.rs:24:41
28 LL | fn iter<'a>(&'a self) -> Self::Iter<'a>;
29 | ^^ lifetime parameter not allowed
31 error[E0110]: lifetime parameters are not allowed on this type
32 --> $DIR/iterable.rs:33:41
34 LL | fn iter<'a>(&'a self) -> Self::Iter<'a> {
35 | ^^ lifetime parameter not allowed
37 error[E0110]: lifetime parameters are not allowed on this type
38 --> $DIR/iterable.rs:44:41
40 LL | fn iter<'a>(&'a self) -> Self::Iter<'a> {
41 | ^^ lifetime parameter not allowed
43 error: aborting due to 6 previous errors
45 For more information about this error, try `rustc --explain E0110`.