rustc_hir_analysis::coherence::orphan

Function emit_orphan_check_error

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