1 error[E0502]: cannot borrow `u.z.c` as immutable because it is also borrowed as mutable
2 --> $DIR/issue-45157.rs:37:20
4 LL | let mref = &mut u.s.a;
5 | ---------- mutable borrow occurs here
7 LL | let nref = &u.z.c;
8 | ^^^^^^ immutable borrow occurs here
9 LL | //~^ ERROR cannot borrow `u.z.c` as immutable because it is also borrowed as mutable [E0502]
10 LL | println!("{} {}", mref, nref)
11 | ---- borrow later used here
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0502`.