blob: 00e0c70d6494b6d658ba149f64337498cd950aa1 [file] [log] [blame]
error[E0009]: cannot bind by-move and by-ref in the same pattern
--> $DIR/bind-by-move-neither-can-live-while-the-other-survives-4.rs:12:15
|
LL | Some((_y, ref _z)) => { },
| ^^ ------ by-ref pattern here
| |
| by-move pattern here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0009`.