]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/match-cfg-fake-edges2.stderr
Rollup merge of #83807 - sjakobi:77548-remove-ignore-annotations, r=Mark-Simulacrum
[rust.git] / src / test / ui / nll / match-cfg-fake-edges2.stderr
1 error[E0503]: cannot use `y.1` because it was mutably borrowed
2   --> $DIR/match-cfg-fake-edges2.rs:11:17
3    |
4 LL |     let r = &mut y.1;
5    |             -------- borrow of `y.1` occurs here
6 ...
7 LL |         (false, true) => 1,
8    |                 ^^^^ use of borrowed `y.1`
9 LL |         (true, _) => {
10 LL |             r;
11    |             - borrow later used here
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0503`.