clippy_utils::ty::type_certainty

Function adt_def_id

source
fn adt_def_id(ty: Ty<'_>) -> Option<DefId>