]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/match-cfg-fake-edges2.stderr
Rollup merge of #103146 - joboet:cleanup_pthread_condvar, 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:8:5
3    |
4 LL |     let r = &mut y.1;
5    |             -------- borrow of `y.1` occurs here
6 ...
7 LL |     match y {
8    |     ^^^^^^^ use of borrowed `y.1`
9 ...
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`.