6 (|| { let bar = foo; bar.take() })();
7 //~^ ERROR cannot move out of `foo` in pattern guard
10 Some(ref _s) => println!("Note this arm is bogus; the `Some` became `None` in the guard."),
11 _ => println!("Here is some supposedly unreachable code."),