rustc_hir_analysis::check::wfcheck

Function could_be_self

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