summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0008.stderr
blob: e9af3166ed5eac061a138a3c385d1cbecdab08b2 (plain)
1
2
3
4
5
6
7
8
9
error[E0008]: cannot bind by-move into a pattern guard
  --> $DIR/E0008.rs:13:14
   |
LL |         Some(s) if s.len() == 0 => {},
   |              ^ moves value into pattern guard

error: aborting due to previous error

For more information about this error, try `rustc --explain E0008`.