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