Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
// build-fail
fn main() {
let mut iter = 0u8..1;
func(&mut iter)
}
fn func<T: Iterator<Item = u8>>(iter: &mut T) { //~ WARN function cannot return without recursing
func(&mut iter.map(|x| x + 1))
//~^ ERROR reached the recursion limit while instantiating