blob: 7233f47884b7bed4dda7d8d90d3707af9b718b0f (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0626]: borrow may still be in use when coroutine yields
--> $DIR/yield-in-args.rs:8:13
|
LL | foo(&b, yield);
| ^^ ----- possible yield occurs here
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0626`.
|