pub(crate) fn range_kind(tcx: TyCtxt<'_>, def_id: DefId) -> RangeKind
Classify a DefId as one of the core::ops::Range* structs.
DefId
core::ops::Range*