2019-07-27 17:56:36 -05:00
|
|
|
error[E0503]: cannot use `y.1` because it was mutably borrowed
|
2022-04-01 12:13:25 -05:00
|
|
|
--> $DIR/match-cfg-fake-edges2.rs:8:5
|
2019-07-27 17:56:36 -05:00
|
|
|
|
|
|
|
|
LL | let r = &mut y.1;
|
2023-01-14 21:06:44 -06:00
|
|
|
| -------- `y.1` is borrowed here
|
2019-07-27 17:56:36 -05:00
|
|
|
...
|
2021-07-23 17:55:36 -05:00
|
|
|
LL | match y {
|
|
|
|
| ^^^^^^^ use of borrowed `y.1`
|
|
|
|
...
|
2019-07-27 17:56:36 -05:00
|
|
|
LL | r;
|
|
|
|
| - borrow later used here
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0503`.
|