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

Check that never patterns are only used on inhabited types.