1 error[E0597]: `b` does not live long enough
2 --> $DIR/ref-escapes-but-not-over-yield.rs:24:13
4 LL | let mut b = move || {
9 | | ^^ borrowed value does not live long enough
10 LL | | //~^ ERROR `b` does not live long enough
14 | | borrowed value only lives until here
15 | |_____temporary later dropped here, potentially using the reference
16 | borrow may end up in a temporary, created here
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0597`.