pub(crate) fn compute_match_usefulness<'p, 'tcx>(
    cx: &MatchCheckCtxt<'p, 'tcx>,
    arms: &[MatchArm<'p, 'tcx>],
    scrut_ty: Ty<'tcx>
) -> UsefulnessReport<'p, 'tcx>
Expand description

Computes whether a match is exhaustive and which of its arms are useful.