| warning: the feature `generic_associated_types` is incomplete and may cause the compiler to crash |
| --> $DIR/generic_associated_type_undeclared_lifetimes.rs:1:12 |
| | |
| LL | #![feature(generic_associated_types)] |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| = note: `#[warn(incomplete_features)]` on by default |
| |
| error[E0261]: use of undeclared lifetime name `'b` |
| --> $DIR/generic_associated_type_undeclared_lifetimes.rs:13:37 |
| | |
| LL | + Deref<Target = Self::Item<'b>>; |
| | ^^ undeclared lifetime |
| |
| error[E0261]: use of undeclared lifetime name `'undeclared` |
| --> $DIR/generic_associated_type_undeclared_lifetimes.rs:17:41 |
| | |
| LL | fn iter<'a>(&'a self) -> Self::Iter<'undeclared>; |
| | ^^^^^^^^^^^ undeclared lifetime |
| |
| error[E0109]: lifetime arguments are not allowed for this type |
| --> $DIR/generic_associated_type_undeclared_lifetimes.rs:11:47 |
| | |
| LL | type Iter<'a>: Iterator<Item = Self::Item<'a>> |
| | ^^ lifetime argument not allowed |
| |
| error[E0109]: lifetime arguments are not allowed for this type |
| --> $DIR/generic_associated_type_undeclared_lifetimes.rs:13:37 |
| | |
| LL | + Deref<Target = Self::Item<'b>>; |
| | ^^ lifetime argument not allowed |
| |
| error[E0109]: lifetime arguments are not allowed for this type |
| --> $DIR/generic_associated_type_undeclared_lifetimes.rs:17:41 |
| | |
| LL | fn iter<'a>(&'a self) -> Self::Iter<'undeclared>; |
| | ^^^^^^^^^^^ lifetime argument not allowed |
| |
| error: aborting due to 5 previous errors |
| |
| Some errors have detailed explanations: E0109, E0261. |
| For more information about an error, try `rustc --explain E0109`. |