2 // compile-flags: -Copt-level=0
3 // normalize-stderr-test: ".nll/" -> "/"
11 impl Iterator for Empty {
13 fn next<'a>(&'a mut self) -> core::option::Option<()> {
18 fn identity<T>(x: T) -> T {
29 rec(identity(&mut it))
30 //~^ ERROR reached the recursion limit while instantiating