fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0009]: cannot bind by-move and by-ref in the same pattern 2 --> $DIR/E0303.rs:3:34 3 | 4LL | ref op_string_ref @ Some(s) => {}, 5 | -------------------------^- 6 | | | 7 | | by-move pattern here 8 | both by-ref and by-move used 9 10error[E0303]: pattern bindings are not allowed after an `@` 11 --> $DIR/E0303.rs:3:34 12 | 13LL | ref op_string_ref @ Some(s) => {}, 14 | ^ not allowed after `@` 15 16error: aborting due to 2 previous errors 17 18Some errors have detailed explanations: E0009, E0303. 19For more information about an error, try `rustc --explain E0009`.