rust/src/test/ui/issues/issue-22886.stderr

10 lines
348 B
Plaintext
Raw Normal View History

error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, self type, or predicates
2018-12-25 09:56:47 -06:00
--> $DIR/issue-22886.rs:13:6
|
2018-02-22 18:42:32 -06:00
LL | impl<'a> Iterator for Newtype { //~ ERROR E0207
| ^^ unconstrained lifetime parameter
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0207`.