fn check_never_pattern<'tcx>(
    cx: &RustcMatchCheckCtxt<'_, 'tcx>,
    pat: &Pat<'tcx>
) -> Result<(), ErrorGuaranteed>
Expand description

Check that never patterns are only used on inhabited types.