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>