]> git.lizzy.rs Git - rust.git/blob - tests/ui/nll/match-cfg-fake-edges2.stderr
Re-add #[allow(unused)] attr
[rust.git] / tests / 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`.