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,
span: Span,
catchall: Option<Span>
)
Expand description
Report unreachable arms, if any.