We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b95b8cc commit cd79609Copy full SHA for cd79609
1 file changed
src/librustc_mir/hair/pattern/check_match.rs
@@ -583,7 +583,6 @@ fn check_legality_of_move_bindings(
583
.span_label(p.span, "binds an already bound by-move value by moving it")
584
.emit();
585
} else if has_guard {
586
- cx.signalled_error = SignalledError::SawSomeError;
587
if !cx.tcx.features().bind_by_move_pattern_guards {
588
let mut err = struct_span_err!(cx.tcx.sess, p.span, E0008,
589
"cannot bind by-move into a pattern guard");
0 commit comments