fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0503]: cannot use `u.c` because it was mutably borrowed 2 --> $DIR/borrowck-union-borrow-nested.rs:24:21 3 | 4LL | let ra = &mut u.s.a; 5 | ---------- borrow of `u.s.a` occurs here 6LL | let b = u.c; 7 | ^^^ use of borrowed `u.s.a` 8LL | ra.use_mut(); 9 | -- borrow later used here 10 11error: aborting due to previous error 12 13For more information about this error, try `rustc --explain E0503`.