fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0499]: cannot borrow `i` as mutable more than once at a time 2 --> $DIR/E0499.rs:4:17 3 | 4LL | let mut x = &mut i; 5 | ------ first mutable borrow occurs here 6LL | let mut a = &mut i; 7 | ^^^^^^ second mutable borrow occurs here 8LL | a.use_mut(); 9LL | x.use_mut(); 10 | - first borrow later used here 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0499`.