mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Remove value_from_cycle_error specialization for type_of_opaque_hir_typeck
This commit is contained in:
@@ -26,11 +26,6 @@ pub(crate) fn specialize_query_vtables<'tcx>(vtables: &mut QueryVTables<'tcx>) {
|
||||
erase_val(ty::EarlyBinder::bind(Ty::new_error(tcx, guar)))
|
||||
};
|
||||
|
||||
vtables.type_of_opaque_hir_typeck.value_from_cycle_error = |tcx, _, _, err| {
|
||||
let guar = err.emit();
|
||||
erase_val(ty::EarlyBinder::bind(Ty::new_error(tcx, guar)))
|
||||
};
|
||||
|
||||
vtables.erase_and_anonymize_regions_ty.value_from_cycle_error = |tcx, _, _, err| {
|
||||
let guar = err.emit();
|
||||
erase_val(Ty::new_error(tcx, guar))
|
||||
|
||||
Reference in New Issue
Block a user