blob: 7a7b1c253528f68754ed66d9a8c35fe929a1661c [file] [log] [blame]
error[E0008]: cannot bind by-move into a pattern guard
--> $DIR/feature-gate.rs:28:16
|
LL | A { a: v } if *v == 42 => v,
| ^ moves value into pattern guard
|
= help: add `#![feature(bind_by_move_pattern_guards)]` to the crate attributes to enable
error: aborting due to previous error
For more information about this error, try `rustc --explain E0008`.