1 error[E0500]: closure requires unique access to `x` but it is already borrowed
2 --> $DIR/issue-27282-mutate-before-diverging-arm-1.rs:33:14
7 LL | (|| { *x = None; drop(force_fn_once); })();
8 | ^^ - second borrow occurs due to use of `x` in closure
10 | closure construction occurs here
12 LL | &mut Some(&a) if { // this binds to garbage if we've corrupted discriminant
13 | ------------- borrow later used here
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0500`.