diff options
| author | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-04-14 09:59:03 -0600 |
|---|---|---|
| committer | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-05-06 22:32:39 -0600 |
| commit | db3faa78d0cdba3d90f559ce4d7a4e56a341950b (patch) | |
| tree | cfbda4563d1a69b88a99ed7f4b05385e55f4b28c /src | |
| parent | a4c49374cb363e48751272166023de0868df02af (diff) | |
| download | rust-db3faa78d0cdba3d90f559ce4d7a4e56a341950b.tar.gz rust-db3faa78d0cdba3d90f559ce4d7a4e56a341950b.zip | |
use EarlyBinder in tcx.(try_)subst_mir_and_normalize_erasing_regions
Diffstat (limited to 'src')
| -rw-r--r-- | src/common.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ impl<'tcx> FunctionCx<'_, '_, 'tcx> { self.instance.subst_mir_and_normalize_erasing_regions( self.tcx, ty::ParamEnv::reveal_all(), - value, + ty::EarlyBinder(value), ) } |
