From b4886251788ec79b7293ee5da347c17c8b1b0c23 Mon Sep 17 00:00:00 2001 From: lcnr Date: Mon, 29 May 2023 13:46:10 +0200 Subject: [PATCH] EarlyBinder::new -> EarlyBinder::bind --- src/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.rs b/src/common.rs index 70cb6dfd66f..67fd6d793e0 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(), - ty::EarlyBinder::new(value), + ty::EarlyBinder::bind(value), ) }