rustc_mir_build::thir::pattern::check_match

Function report_arm_reachability

Source
fn report_arm_reachability<'p, 'tcx>(
    cx: &RustcPatCtxt<'p, 'tcx>,
    report: &UsefulnessReport<'p, 'tcx>,
    is_match_arm: bool,
)
Expand description

Report unreachable arms, if any.