summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0008.stderr
blob: 6b45439c4b5877ceadbc7c9cdb715da89ad50241 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0008]: cannot bind by-move into a pattern guard
  --> $DIR/E0008.rs:3:14
   |
LL |         Some(s) if s.len() == 0 => {},
   |              ^ moves value into pattern guard
   |
   = help: add `#![feature(bind_by_move_pattern_guards)]` to the crate attributes to enable

error: aborting due to previous error

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