From 96bd0566959a9b3421dbedc8450271d56b0985b5 Mon Sep 17 00:00:00 2001
From: Eric Mark Martin <ericmarkmartin@gmail.com>
Date: Wed, 28 Jun 2023 01:55:32 -0400
Subject: [PATCH] remove cruft

---
 compiler/rustc_mir_build/src/thir/pattern/check_match.rs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compiler/rustc_mir_build/src/thir/pattern/check_match.rs b/compiler/rustc_mir_build/src/thir/pattern/check_match.rs
index 73d8f456dc3..ef60f08bf02 100644
--- a/compiler/rustc_mir_build/src/thir/pattern/check_match.rs
+++ b/compiler/rustc_mir_build/src/thir/pattern/check_match.rs
@@ -834,7 +834,6 @@ fn non_exhaustive_match<'p, 'tcx>(
     let all_arms_have_guards = arms.iter().all(|arm_id| thir[*arm_id].guard.is_some());
     if !is_empty_match && all_arms_have_guards {
         err.subdiagnostic(NonExhaustiveMatchAllArmsGuarded);
-        // err.note(NonExhaustiveMatchAllArmsGuarded);
     }
     if let Some((span, sugg)) = suggestion {
         err.span_suggestion_verbose(span, msg, sugg, Applicability::HasPlaceholders);