Function rustc_hir_analysis::check::wfcheck::could_be_self

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