1 #![feature(generators)]
4 // In this case, a reference to `b` escapes the generator, but not
5 // because of a yield. We see that there is no yield in the scope of
6 // `b` and give the more generic error message.
12 //~^ ERROR borrowed data escapes outside of generator