2 // compile-flags: -Copt-level=0
3 // normalize-stderr-test: "long-type-\d+" -> "long-type-hash"
4 //~^^^ ERROR overflow evaluating the requirement
11 fn func<T: Iterator<Item = u8>>(iter: &mut T) { //~ WARN function cannot return without recursing
12 func(&mut iter.map(|x| x + 1))