]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0499.stderr
New upstream version 1.25.0+dfsg1
[rustc.git] / src / test / ui / error-codes / E0499.stderr
1 error[E0499]: cannot borrow `i` as mutable more than once at a time
2 --> $DIR/E0499.rs:14:22
3 |
4 13 | let mut x = &mut i;
5 | - first mutable borrow occurs here
6 14 | let mut a = &mut i; //~ ERROR E0499
7 | ^ second mutable borrow occurs here
8 15 | }
9 | - first borrow ends here
10
11 error: aborting due to previous error
12