8 let mut x = Enum::A(&mut n);
10 Enum::A(_) if { x = Enum::B(false); false } => 1,
11 //~^ ERROR cannot assign `x` in match guard
12 Enum::A(_) if { let y = &mut x; *y = Enum::B(false); false } => 1,
13 //~^ ERROR cannot mutably borrow `x` in match guard