diff options
| author | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-05-26 11:19:35 -0600 |
|---|---|---|
| committer | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-05-28 10:44:50 -0600 |
| commit | 03534ac8b70de1134ce7e91b172cd629048a6c8b (patch) | |
| tree | 3ad32332510ba0986bf9cdb52ac1901ec13813b7 /compiler/rustc_const_eval/src/interpret/eval_context.rs | |
| parent | 39c03fb65268e3331f381714c664a581a6e86b8c (diff) | |
| download | rust-03534ac8b70de1134ce7e91b172cd629048a6c8b.tar.gz rust-03534ac8b70de1134ce7e91b172cd629048a6c8b.zip | |
Replace EarlyBinder(x) with EarlyBinder::new(x)
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/eval_context.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/eval_context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/eval_context.rs b/compiler/rustc_const_eval/src/interpret/eval_context.rs index 7e94578003e..9195ae163bc 100644 --- a/compiler/rustc_const_eval/src/interpret/eval_context.rs +++ b/compiler/rustc_const_eval/src/interpret/eval_context.rs @@ -497,7 +497,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { .try_subst_mir_and_normalize_erasing_regions( *self.tcx, self.param_env, - ty::EarlyBinder(value), + ty::EarlyBinder::new(value), ) .map_err(|_| err_inval!(TooGeneric)) } |
