2023-10-19 21:46:28 +00:00
|
|
|
error[E0626]: borrow may still be in use when coroutine yields
|
2023-10-20 10:06:08 +00:00
|
|
|
--> $DIR/coroutine-with-nll.rs:7:17
|
2018-01-11 19:50:40 +01:00
|
|
|
|
|
2018-07-26 13:17:33 +02:00
|
|
|
LL | let b = &mut true;
|
2018-01-29 08:29:58 +01:00
|
|
|
| ^^^^^^^^^
|
2019-03-09 15:03:44 +03:00
|
|
|
LL |
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | yield ();
|
2018-01-29 08:29:58 +01:00
|
|
|
| -------- possible yield occurs here
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-01-11 19:50:40 +01:00
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0626`.
|