Skip to content

Commit 96bd056

Browse files
remove cruft
1 parent 2017a17 commit 96bd056

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_mir_build/src/thir/pattern/check_match.rs

-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,6 @@ fn non_exhaustive_match<'p, 'tcx>(
834834
let all_arms_have_guards = arms.iter().all(|arm_id| thir[*arm_id].guard.is_some());
835835
if !is_empty_match && all_arms_have_guards {
836836
err.subdiagnostic(NonExhaustiveMatchAllArmsGuarded);
837-
// err.note(NonExhaustiveMatchAllArmsGuarded);
838837
}
839838
if let Some((span, sugg)) = suggestion {
840839
err.span_suggestion_verbose(span, msg, sugg, Applicability::HasPlaceholders);

0 commit comments

Comments
 (0)