1 error[E0009]: cannot bind by-move and by-ref in the same pattern
2 --> $DIR/E0303.rs:13:34
4 13 | ref op_string_ref @ Some(s) => {},
5 | -------------------------^-
7 | | by-move pattern here
8 | both by-ref and by-move used
10 error[E0303]: pattern bindings are not allowed after an `@`
11 --> $DIR/E0303.rs:13:34
13 13 | ref op_string_ref @ Some(s) => {},
14 | ^ not allowed after `@`
16 error: aborting due to 2 previous errors