]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-0107-bind-by-move-pattern-guards/feature-gate.no_gate.stderr
Auto merge of #54265 - arielb1:civilize-proc-macros, r=alexcrichton
[rust.git] / src / test / ui / rfc-0107-bind-by-move-pattern-guards / feature-gate.no_gate.stderr
1 error[E0008]: cannot bind by-move into a pattern guard
2   --> $DIR/feature-gate.rs:33:16
3    |
4 LL |         A { a: v } if *v == 42 => v,
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`.