rustc_hir_analysis::check::wfcheck

Function could_be_self

Source
fn could_be_self(trait_def_id: LocalDefId, ty: &Ty<'_>) -> bool