error[E0261]: use of undeclared lifetime name `'b` | |
--> $DIR/generic_associated_type_undeclared_lifetimes.rs:9:37 | |
| | |
LL | + Deref<Target = Self::Item<'b>>; | |
| ^^ undeclared lifetime | |
error[E0261]: use of undeclared lifetime name `'undeclared` | |
--> $DIR/generic_associated_type_undeclared_lifetimes.rs:12:41 | |
| | |
LL | fn iter<'a>(&'a self) -> Self::Iter<'undeclared>; | |
| ^^^^^^^^^^^ undeclared lifetime | |
error: aborting due to 2 previous errors | |
For more information about this error, try `rustc --explain E0261`. |