1 error[E0626]: borrow may still be in use when generator yields
2 --> $DIR/yield-in-args.rs:18:14
4 LL | foo(&b, yield); //~ ERROR
5 | ^ ----- possible yield occurs here
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0626`.