fn is_diverging_call(tcx: TyCtxt<'_>, def_id: DefId) -> bool
Whether def_id is a diverging call target: a panic* lang item or the unreachable/abort intrinsics.
def_id
panic*
unreachable
abort