Function rustc_hir_analysis::coherence::orphan::emit_orphan_check_error

source ยท
fn emit_orphan_check_error<'tcx>(
    tcx: TyCtxt<'tcx>,
    trait_ref: TraitRef<'tcx>,
    impl_def_id: LocalDefId,
    err: OrphanCheckErr<'tcx, FxIndexSet<DefId>>
) -> ErrorGuaranteed