]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0009.stderr
Rollup merge of #59056 - scottmcm:even-fewer-lifetimes, r=sfackler
[rust.git] / src / test / ui / error-codes / E0009.stderr
1 error[E0009]: cannot bind by-move and by-ref in the same pattern
2   --> $DIR/E0009.rs:5:15
3    |
4 LL |         Some((y, ref z)) => {},
5    |               ^  ----- both by-ref and by-move used
6    |               |
7    |               by-move pattern here
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0009`.