]> git.proxmox.com Git - rustc.git/blame - src/test/ui/nll/borrowed-match-issue-45045.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / nll / borrowed-match-issue-45045.stderr
CommitLineData
2c00a5a8 1error[E0503]: cannot use `e` because it was mutably borrowed
94222f64 2 --> $DIR/borrowed-match-issue-45045.rs:12:11
2c00a5a8 3 |
0531ce1d 4LL | let f = &mut e;
2c00a5a8 5 | ------ borrow of `e` occurs here
94222f64
XL
6LL | let g = f;
7LL | match e {
8 | ^ use of borrowed `e`
0531ce1d
XL
9...
10LL | *g = Xyz::B;
11 | ----------- borrow later used here
2c00a5a8 12
0bf4aa26 13error: aborting due to previous error
2c00a5a8 14
0531ce1d 15For more information about this error, try `rustc --explain E0503`.