1 error[E0008]: cannot bind by-move into a pattern guard
2 --> $DIR/E0008.rs:13:14
4 LL | Some(s) if s.len() == 0 => {},
5 | ^ moves value into pattern guard
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0008`.