summaryrefslogtreecommitdiffstats
path: root/tests/ui/nll/match-cfg-fake-edges2.stderr
blob: 36f2cd0b85d1c62e355dfc5b84d5a844eaa57409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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`.