diff options
| author | Michael Goulet <michael@errs.io> | 2024-01-29 17:41:51 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-02-06 02:22:58 +0000 |
| commit | ca444160232a1bf1914da906da9e061a7636955c (patch) | |
| tree | 92bace14bed88f4dd639e87d1cad16d260d4034d /compiler/rustc_const_eval | |
| parent | c98d6994a390044410c55c45195d330e4c8cd3d7 (diff) | |
| download | rust-ca444160232a1bf1914da906da9e061a7636955c.tar.gz rust-ca444160232a1bf1914da906da9e061a7636955c.zip | |
Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closure
Diffstat (limited to 'compiler/rustc_const_eval')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/terminator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/terminator.rs b/compiler/rustc_const_eval/src/interpret/terminator.rs index b8d6836da14..85a2e4778d2 100644 --- a/compiler/rustc_const_eval/src/interpret/terminator.rs +++ b/compiler/rustc_const_eval/src/interpret/terminator.rs @@ -546,7 +546,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { | ty::InstanceDef::ReifyShim(..) | ty::InstanceDef::ClosureOnceShim { .. } | ty::InstanceDef::ConstructCoroutineInClosureShim { .. } - | ty::InstanceDef::CoroutineByMoveShim { .. } + | ty::InstanceDef::CoroutineKindShim { .. } | ty::InstanceDef::FnPtrShim(..) | ty::InstanceDef::DropGlue(..) | ty::InstanceDef::CloneShim(..) |
