Function rustc_mir_build::thir::pattern::check_match::report_unreachable_pattern
source ยท fn report_unreachable_pattern<'p, 'tcx>(
cx: &RustcPatCtxt<'p, 'tcx>,
hir_id: HirId,
pat: &DeconstructedPat<'p, 'tcx>,
explanation: &RedundancyExplanation<'p, 'tcx>,
)
Expand description
Report unreachable arms, if any.