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