Rename normalize to normalize_internal, remove unnecessary usages

This commit is contained in:
Michael Goulet
2024-09-27 13:50:28 -04:00
parent e83e4e8112
commit 38bbcc001e
7 changed files with 6 additions and 7 deletions

View File

@@ -340,7 +340,7 @@ impl<'a, 'tcx> FallibleTypeFolder<TyCtxt<'tcx>> for QueryNormalizer<'a, 'tcx> {
self.infcx,
&mut self.universes,
constant,
|constant| constant.normalize(self.infcx.tcx, self.param_env),
|constant| constant.normalize_internal(self.infcx.tcx, self.param_env),
);
debug!(?constant, ?self.param_env);
constant.try_super_fold_with(self)