]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0008.stderr
Rollup merge of #60131 - agnxy:doc-link, r=ehuss
[rust.git] / src / test / ui / error-codes / E0008.stderr
1 error[E0008]: cannot bind by-move into a pattern guard
2   --> $DIR/E0008.rs:3:14
3    |
4 LL |         Some(s) if s.len() == 0 => {},
5    |              ^ moves value into pattern guard
6    |
7    = help: add #![feature(bind_by_move_pattern_guards)] to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0008`.