2018-01-11 12:49:26 -06:00
|
|
|
error[E0626]: borrow may still be in use when generator yields (Ast)
|
|
|
|
--> $DIR/yield-while-local-borrowed.rs:24:22
|
|
|
|
|
|
|
|
|
24 | let a = &mut 3;
|
|
|
|
| ^
|
|
|
|
...
|
|
|
|
27 | yield();
|
|
|
|
| ------- possible yield occurs here
|
|
|
|
|
|
|
|
error[E0626]: borrow may still be in use when generator yields (Ast)
|
|
|
|
--> $DIR/yield-while-local-borrowed.rs:52:22
|
|
|
|
|
|
|
|
|
52 | let b = &a;
|
2017-07-15 05:52:49 -05:00
|
|
|
| ^
|
2018-01-11 12:49:26 -06:00
|
|
|
...
|
|
|
|
55 | yield();
|
|
|
|
| ------- possible yield occurs here
|
|
|
|
|
2018-01-29 01:29:58 -06:00
|
|
|
error[E0626]: borrow may still be in use when generator yields (Mir)
|
|
|
|
--> $DIR/yield-while-local-borrowed.rs:24:17
|
|
|
|
|
|
|
|
|
24 | let a = &mut 3;
|
|
|
|
| ^^^^^^
|
|
|
|
...
|
|
|
|
27 | yield();
|
|
|
|
| ------- possible yield occurs here
|
|
|
|
|
2018-01-11 12:49:26 -06:00
|
|
|
error[E0626]: borrow may still be in use when generator yields (Mir)
|
|
|
|
--> $DIR/yield-while-local-borrowed.rs:52:21
|
|
|
|
|
|
|
|
|
52 | let b = &a;
|
|
|
|
| ^^
|
|
|
|
...
|
|
|
|
55 | yield();
|
2017-07-15 05:52:49 -05:00
|
|
|
| ------- possible yield occurs here
|
|
|
|
|
2018-01-11 12:49:26 -06:00
|
|
|
error: aborting due to 4 previous errors
|
2017-07-15 05:52:49 -05:00
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0626"
|