1 error[E0507]: cannot move out of borrowed content
2 --> $DIR/issue-27282-move-ref-mut-into-guard.rs:14:18
4 LL | if { (|| { let bar = foo; bar.take() })(); false } => {},
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot move out of borrowed content
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0507`.