blob: e38916b8b273d0330ad64ac507fbf747c68981e4 [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:22:15
|
LL | Some((_y, ref _z)) => { }, //~ ERROR cannot bind by-move and by-ref in the same pattern
| ^^ ------ both by-ref and by-move used
| |
| by-move pattern here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0009`.