blob: 8b3071420dd89a0b86eb567dcc2ac20911f86946 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0009]: cannot bind by-move and by-ref in the same pattern
--> $DIR/E0009.rs:15: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`.
|