2023-10-19 16:46:28 -05:00
|
|
|
error[E0626]: borrow may still be in use when coroutine yields
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/pattern-borrow.rs:9:24
|
2018-01-28 12:49:48 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | if let Test::A(ref _a) = test {
|
2018-01-28 12:49:48 -06:00
|
|
|
| ^^^^^^
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | yield ();
|
2018-01-28 12:49:48 -06:00
|
|
|
| -------- possible yield occurs here
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2018-01-28 12:49:48 -06:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0626`.
|