2019-11-11 04:39:52 -06:00
|
|
|
error[E0009]: cannot bind by-move and by-ref in the same pattern
|
2019-12-14 22:06:54 -06:00
|
|
|
--> $DIR/borrowck-pat-by-move-and-ref.rs:5:34
|
2019-11-11 04:39:52 -06:00
|
|
|
|
|
|
|
|
LL | ref op_string_ref @ Some(s) => {},
|
|
|
|
| -------------------------^-
|
|
|
|
| | |
|
|
|
|
| | by-move pattern here
|
2019-12-14 11:20:13 -06:00
|
|
|
| by-ref pattern here
|
2019-11-11 04:39:52 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0009`.
|