]> git.lizzy.rs Git - rust.git/blob - src/test/ui/bind-by-move/bind-by-move-no-guards.stderr
normalize use of backticks/lowercase in compiler messages for librustc_mir
[rust.git] / src / test / ui / bind-by-move / bind-by-move-no-guards.stderr
1 error[E0008]: cannot bind by-move into a pattern guard
2   --> $DIR/bind-by-move-no-guards.rs:8:14
3    |
4 LL |         Some(z) if z.recv().unwrap() => { panic!() },
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`.