rust/tests/ui/nll/match-cfg-fake-edges2.stderr
Esteban Küber 656db98bd9 Tweak E0597
CC #99430
2023-01-15 19:46:20 +00:00

16 lines
420 B
Plaintext

error[E0503]: cannot use `y.1` because it was mutably borrowed
--> $DIR/match-cfg-fake-edges2.rs:8:5
|
LL | let r = &mut y.1;
| -------- `y.1` is borrowed here
...
LL | match y {
| ^^^^^^^ use of borrowed `y.1`
...
LL | r;
| - borrow later used here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0503`.