]> git.proxmox.com Git - rustc.git/blob - src/test/ui/borrowck/borrowck-autoref-3261.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / borrowck / borrowck-autoref-3261.stderr
1 error[E0499]: cannot borrow `x` as mutable more than once at a time
2 --> $DIR/borrowck-autoref-3261.rs:15:9
3 |
4 LL | (&mut x).with(
5 | -------- ---- first borrow later used by call
6 | |
7 | first mutable borrow occurs here
8 LL | |opt| {
9 | ^^^^^ second mutable borrow occurs here
10 ...
11 LL | x = X(Either::Left((0, 0)));
12 | - second borrow occurs due to use of `x` in closure
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0499`.