1 error[E0621]: explicit lifetime required in the type of `cont`
2 --> $DIR/issue-13058.rs:24:26
4 LL | fn check<'r, I: Iterator<Item=usize>, T: Itble<'r, usize, I>>(cont: &T) -> bool
5 | ---- consider changing the type of `cont` to `&'r T`
7 LL | let cont_iter = cont.iter();
8 | ^^^^ lifetime `'r` required
10 error[E0308]: mismatched types
11 --> $DIR/issue-13058.rs:36:11
16 | expected reference, found tuple
17 | help: consider borrowing here: `&(3, 5)`
19 = note: expected type `&_`
20 found type `({integer}, {integer})`
22 error: aborting due to 2 previous errors
24 Some errors occurred: E0308, E0621.
25 For more information about an error, try `rustc --explain E0308`.