EarlyBinder::new -> EarlyBinder::bind

This commit is contained in:
lcnr 2023-05-29 13:46:10 +02:00
parent 4e87728772
commit b488625178

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(),
ty::EarlyBinder::new(value),
ty::EarlyBinder::bind(value),
)
}