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