|
| 1 | +warning: the feature `generic_associated_types` is incomplete and may cause the compiler to crash |
| 2 | + --> $DIR/iterable.rs:11:12 |
| 3 | + | |
| 4 | +LL | #![feature(generic_associated_types)] |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 6 | + |
1 | 7 | error[E0110]: lifetime parameters are not allowed on this type
|
2 |
| - --> $DIR/iterable.rs:20:47 |
| 8 | + --> $DIR/iterable.rs:21:47 |
3 | 9 | |
|
4 | 10 | LL | type Iter<'a>: Iterator<Item = Self::Item<'a>>;
|
5 | 11 | | ^^ lifetime parameter not allowed
|
6 | 12 |
|
7 | 13 | error[E0110]: lifetime parameters are not allowed on this type
|
8 |
| - --> $DIR/iterable.rs:49:53 |
| 14 | + --> $DIR/iterable.rs:50:53 |
9 | 15 | |
|
10 | 16 | LL | fn make_iter<'a, I: Iterable>(it: &'a I) -> I::Iter<'a> {
|
11 | 17 | | ^^ lifetime parameter not allowed
|
12 | 18 |
|
13 | 19 | error[E0110]: lifetime parameters are not allowed on this type
|
14 |
| - --> $DIR/iterable.rs:54:60 |
| 20 | + --> $DIR/iterable.rs:55:60 |
15 | 21 | |
|
16 | 22 | LL | fn get_first<'a, I: Iterable>(it: &'a I) -> Option<I::Item<'a>> {
|
17 | 23 | | ^^ lifetime parameter not allowed
|
18 | 24 |
|
19 | 25 | error[E0110]: lifetime parameters are not allowed on this type
|
20 |
| - --> $DIR/iterable.rs:23:41 |
| 26 | + --> $DIR/iterable.rs:24:41 |
21 | 27 | |
|
22 | 28 | LL | fn iter<'a>(&'a self) -> Self::Iter<'a>;
|
23 | 29 | | ^^ lifetime parameter not allowed
|
24 | 30 |
|
25 | 31 | error[E0110]: lifetime parameters are not allowed on this type
|
26 |
| - --> $DIR/iterable.rs:32:41 |
| 32 | + --> $DIR/iterable.rs:33:41 |
27 | 33 | |
|
28 | 34 | LL | fn iter<'a>(&'a self) -> Self::Iter<'a> {
|
29 | 35 | | ^^ lifetime parameter not allowed
|
30 | 36 |
|
31 | 37 | error[E0110]: lifetime parameters are not allowed on this type
|
32 |
| - --> $DIR/iterable.rs:43:41 |
| 38 | + --> $DIR/iterable.rs:44:41 |
33 | 39 | |
|
34 | 40 | LL | fn iter<'a>(&'a self) -> Self::Iter<'a> {
|
35 | 41 | | ^^ lifetime parameter not allowed
|
|
0 commit comments