about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-01-24 23:38:33 +0000
committerMichael Goulet <michael@errs.io>2024-02-06 02:22:58 +0000
commit427896dd7e39f1aaf3e3cbc15e5ddf77d45a6aec (patch)
tree6590ff48b2d3114622b983912308b2b4516e5531 /compiler/rustc_const_eval/src
parentfc4fff40385252212b9921928927568f233ba02f (diff)
downloadrust-427896dd7e39f1aaf3e3cbc15e5ddf77d45a6aec.tar.gz
rust-427896dd7e39f1aaf3e3cbc15e5ddf77d45a6aec.zip
Construct body for by-move coroutine closure output
Diffstat (limited to 'compiler/rustc_const_eval/src')
-rw-r--r--compiler/rustc_const_eval/src/interpret/terminator.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/terminator.rs b/compiler/rustc_const_eval/src/interpret/terminator.rs
index 4c8f68b25b5..b8d6836da14 100644
--- a/compiler/rustc_const_eval/src/interpret/terminator.rs
+++ b/compiler/rustc_const_eval/src/interpret/terminator.rs
@@ -546,6 +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::FnPtrShim(..)
             | ty::InstanceDef::DropGlue(..)
             | ty::InstanceDef::CloneShim(..)