From db3faa78d0cdba3d90f559ce4d7a4e56a341950b Mon Sep 17 00:00:00 2001 From: Kyle Matsuda Date: Fri, 14 Apr 2023 09:59:03 -0600 Subject: [PATCH] use EarlyBinder in tcx.(try_)subst_mir_and_normalize_erasing_regions --- src/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.rs b/src/common.rs index 264b95e7abd..ccb3a0c4f27 100644 --- a/src/common.rs +++ b/src/common.rs @@ -361,7 +361,7 @@ pub(crate) fn monomorphize(&self, value: T) -> T self.instance.subst_mir_and_normalize_erasing_regions( self.tcx, ty::ParamEnv::reveal_all(), - value, + ty::EarlyBinder(value), ) }