Replace EarlyBinder(x) with EarlyBinder::new(x)

This commit is contained in:
Kyle Matsuda 2023-05-26 11:19:35 -06:00
parent be82095e1c
commit 4e87728772

View File

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