fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0499]: cannot borrow `y.0` as mutable more than once at a time 2 --> $DIR/borrowck-anon-fields-struct.rs:29:11 3 | 4LL | Y(ref mut a, _) => a 5 | --------- first mutable borrow occurs here 6... 7LL | Y(ref mut b, _) => b 8 | ^^^^^^^^^ second mutable borrow occurs here 9... 10LL | *a += 1; 11 | ------- first borrow later used here 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0499`.