4 #[derive(Clone, Copy, Default)]
9 #[derive(Clone, Copy, Default)]
22 let mut u = U { s: Default::default() };
24 let mref = &mut u.s.a;
28 //~^ ERROR cannot borrow `u` (via `u.z.c`) as immutable because it is also borrowed as mutable (via `u.s.a`) [E0502]
29 println!("{} {}", mref, nref)