blob: 77e8bb1f92ee986b15979089007d3404f9070d6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error[E0626]: borrow may still be in use when coroutine yields
--> $DIR/coroutine-with-nll.rs:7:17
|
LL | let b = &mut true;
| ^^^^^^^^^
LL |
LL | yield ();
| -------- possible yield occurs here
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0626`.
|