]>
Commit | Line | Data |
---|---|---|
48663c56 XL |
1 | error[E0621]: explicit lifetime required in the type of `cont` |
2 | --> $DIR/issue-13058.rs:14:21 | |
3 | | | |
4 | LL | fn check<'r, I: Iterator<Item=usize>, T: Itble<'r, usize, I>>(cont: &T) -> bool | |
5 | | -- help: add explicit lifetime `'r` to the type of `cont`: `&'r T` | |
6 | LL | { | |
7 | LL | let cont_iter = cont.iter(); | |
8 | | ^^^^^^^^^^^ lifetime `'r` required | |
9 | ||
10 | error: aborting due to previous error | |
11 | ||
12 | For more information about this error, try `rustc --explain E0621`. |