]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-13058.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-13058.stderr
CommitLineData
ff7c6d11 1error[E0621]: explicit lifetime required in the type of `cont`
923072b8 2 --> $DIR/issue-13058.rs:14:21
ff7c6d11 3 |
0531ce1d 4LL | fn check<'r, I: Iterator<Item=usize>, T: Itble<'r, usize, I>>(cont: &T) -> bool
b7449926 5 | -- help: add explicit lifetime `'r` to the type of `cont`: `&'r T`
0531ce1d
XL
6LL | {
7LL | let cont_iter = cont.iter();
923072b8 8 | ^^^^^^^^^^^ lifetime `'r` required
ff7c6d11 9
0bf4aa26 10error: aborting due to previous error
ff7c6d11 11
0bf4aa26 12For more information about this error, try `rustc --explain E0621`.