fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0626]: borrow may still be in use when generator yields 2 --> $DIR/yield-while-local-borrowed.rs:13:17 3 | 4LL | let a = &mut 3; 5 | ^^^^^^ 6LL | 7LL | yield(); 8 | ------- possible yield occurs here 9 10error[E0626]: borrow may still be in use when generator yields 11 --> $DIR/yield-while-local-borrowed.rs:40:21 12 | 13LL | let b = &a; 14 | ^^ 15LL | 16LL | yield(); 17 | ------- possible yield occurs here 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0626`.