1 error[E0302]: cannot assign in a pattern guard
2 --> $DIR/E0302.rs:14:21
4 LL | option if { option = None; false } => { }, //~ ERROR E0302
5 | ^^^^^^^^^^^^^ assignment in pattern guard
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0302`.