fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
474 B15 linesraw
1error[E0503]: cannot use `y.1` because it was mutably borrowed
2  --> $DIR/match-cfg-fake-edges2.rs:11:17
3   |
4LL |     let r = &mut y.1;
5   |             -------- borrow of `y.1` occurs here
6...
7LL |         (false, true) => 1,
8   |                 ^^^^ use of borrowed `y.1`
9LL |         (true, _) => {
10LL |             r;
11   |             - borrow later used here
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0503`.