]> git.lizzy.rs Git - rust.git/blob - src/test/ui/bind-by-move/bind-by-move-no-guards.stderr
Rollup merge of #59880 - solson:transmute-float, r=alexcrichton
[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 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0008`.