blob: 69ebb6bb9c9fa4e8590114304314dd4b595de3d5 [file] [log] [blame]
error[E0302]: cannot assign in a pattern guard
--> $DIR/E0302.rs:4:21
|
LL | option if { option = None; false } => { },
| ^^^^^^^^^^^^^ assignment in pattern guard
error: aborting due to previous error
For more information about this error, try `rustc --explain E0302`.