This undoes the changes from #121482 and #121586, now that stashed errors will trigger more early aborts.
hir_ty_to_ty