1 error[E0626]: borrow may still be in use when generator yields (Ast)
2 --> $DIR/generator-with-nll.rs:19:23
4 19 | let _a = &mut true; //~ ERROR borrow may still be in use when generator yields (Ast)
8 | -------- possible yield occurs here
10 error[E0626]: borrow may still be in use when generator yields (Ast)
11 --> $DIR/generator-with-nll.rs:20:22
13 20 | let b = &mut true; //~ ERROR borrow may still be in use when generator yields (Ast)
15 21 | //~^ borrow may still be in use when generator yields (Mir)
17 | -------- possible yield occurs here
19 error[E0626]: borrow may still be in use when generator yields (Mir)
20 --> $DIR/generator-with-nll.rs:20:17
22 20 | let b = &mut true; //~ ERROR borrow may still be in use when generator yields (Ast)
24 21 | //~^ borrow may still be in use when generator yields (Mir)
26 | -------- possible yield occurs here
28 error: aborting due to 3 previous errors