1 error[E0007]: cannot bind by-move with sub-bindings
4 LL | op_string @ Some(s) => {},
5 | ^^^^^^^^^^^^^^^^^^^ binds an already bound by-move value by moving it
7 error[E0382]: use of moved value
10 LL | let x = Some("s".to_string());
11 | - move occurs because `x` has type `Option<String>`, which does not implement the `Copy` trait
13 LL | op_string @ Some(s) => {},
16 | | value used here after move
19 error: aborting due to 2 previous errors
21 Some errors have detailed explanations: E0007, E0382.
22 For more information about an error, try `rustc --explain E0007`.