1 error[E0510]: cannot mutably borrow `x` in match guard
2 --> $DIR/issue-27282-mutate-before-diverging-arm-1.rs:21:14
5 | - value is immutable in match guard
7 LL | (|| { *x = None; drop(force_fn_once); })();
8 | ^^ -- borrow occurs due to use of `x` in closure
10 | cannot mutably borrow
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0510`.