rust/src/test/ui/error-codes/E0009.stderr
2018-12-25 21:08:33 -07:00

12 lines
358 B
Plaintext

error[E0009]: cannot bind by-move and by-ref in the same pattern
--> $DIR/E0009.rs:5:15
|
LL | Some((y, ref z)) => {},
| ^ ----- 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`.