use EarlyBinder in tcx.(try_)subst_mir_and_normalize_erasing_regions

This commit is contained in:
Kyle Matsuda 2023-04-14 09:59:03 -06:00
parent a4c49374cb
commit db3faa78d0

View File

@ -361,7 +361,7 @@ pub(crate) fn monomorphize<T>(&self, value: T) -> T
self.instance.subst_mir_and_normalize_erasing_regions(
self.tcx,
ty::ParamEnv::reveal_all(),
value,
ty::EarlyBinder(value),
)
}