rustc_hir_analysis::coherence

Function enforce_trait_manually_implementable

source
fn enforce_trait_manually_implementable(
    tcx: TyCtxt<'_>,
    impl_def_id: LocalDefId,
    trait_def_id: DefId,
    trait_def: &TraitDef,
) -> Result<(), ErrorGuaranteed>