1 error[E0382]: use of moved value: `b`
2 --> $DIR/issue-27282-move-match-input-into-guard.rs:18:14
4 LL | let b = &mut true;
5 | - move occurs because `b` has type `&mut bool`, which does not implement the `Copy` trait
7 LL | _ if { (|| { let bar = b; *bar = false; })();
8 | -- - variable moved due to use in closure
10 | value moved into closure here
12 LL | &mut true => { println!("You might think we should get here"); },
13 | ^^^^ value used here after move
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0382`.