fn report_unreachable_pattern<'p, 'tcx>(
cx: &RustcPatCtxt<'p, 'tcx>,
hir_id: HirId,
pat: &DeconstructedPat<'p, 'tcx>,
explanation: &RedundancyExplanation<'p, 'tcx>,
whole_arm_span: Option<Span>,
)
Expand description
Report unreachable arms, if any.