renamed query
This commit is contained in:
parent
a3667d3209
commit
5c51bf5297
@ -129,7 +129,7 @@ fn fold_ty(&mut self, ty: Ty<'gcx>) -> Ty<'gcx> {
|
||||
ty
|
||||
} else {
|
||||
debug!("AssociatedTypeNormalizer: ty={:?}", ty);
|
||||
self.tcx.normalize_ty(ty)
|
||||
self.tcx.fully_normalize_monormophic_ty(ty)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2318,7 +2318,7 @@ pub fn provide(providers: &mut ty::maps::Providers) {
|
||||
assert_eq!(cnum, LOCAL_CRATE);
|
||||
tcx.sess.features.borrow().clone_closures
|
||||
};
|
||||
providers.normalize_ty = |tcx, ty| {
|
||||
providers.fully_normalize_monormophic_ty = |tcx, ty| {
|
||||
tcx.fully_normalize_associated_types_in(&ty)
|
||||
};
|
||||
}
|
||||
|
@ -533,7 +533,7 @@ fn describe(_tcx: TyCtxt, _: CrateNum) -> String {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'tcx> QueryDescription for queries::normalize_ty<'tcx> {
|
||||
impl<'tcx> QueryDescription for queries::fully_normalize_monormophic_ty<'tcx> {
|
||||
fn describe(_tcx: TyCtxt, _: Ty) -> String {
|
||||
format!("normalizing types")
|
||||
}
|
||||
|
@ -349,7 +349,7 @@
|
||||
// Normally you would just use `tcx.erase_regions(&value)`,
|
||||
// however, which uses this query as a kind of cache.
|
||||
[] fn erase_regions_ty: erase_regions_ty(Ty<'tcx>) -> Ty<'tcx>,
|
||||
[] fn normalize_ty: normalize_ty_node(Ty<'tcx>) -> Ty<'tcx>,
|
||||
[] fn fully_normalize_monormophic_ty: normalize_ty_node(Ty<'tcx>) -> Ty<'tcx>,
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user