diff options
| author | Michael Goulet <michael@errs.io> | 2024-01-24 23:38:33 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-02-06 02:22:58 +0000 |
| commit | 427896dd7e39f1aaf3e3cbc15e5ddf77d45a6aec (patch) | |
| tree | 6590ff48b2d3114622b983912308b2b4516e5531 /compiler/rustc_mir_transform/src/inline | |
| parent | fc4fff40385252212b9921928927568f233ba02f (diff) | |
| download | rust-427896dd7e39f1aaf3e3cbc15e5ddf77d45a6aec.tar.gz rust-427896dd7e39f1aaf3e3cbc15e5ddf77d45a6aec.zip | |
Construct body for by-move coroutine closure output
Diffstat (limited to 'compiler/rustc_mir_transform/src/inline')
| -rw-r--r-- | compiler/rustc_mir_transform/src/inline/cycle.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir_transform/src/inline/cycle.rs b/compiler/rustc_mir_transform/src/inline/cycle.rs index 3f3dc9145b6..77ff780393e 100644 --- a/compiler/rustc_mir_transform/src/inline/cycle.rs +++ b/compiler/rustc_mir_transform/src/inline/cycle.rs @@ -88,6 +88,7 @@ pub(crate) fn mir_callgraph_reachable<'tcx>( | InstanceDef::FnPtrShim(..) | InstanceDef::ClosureOnceShim { .. } | InstanceDef::ConstructCoroutineInClosureShim { .. } + | InstanceDef::CoroutineByMoveShim { .. } | InstanceDef::ThreadLocalShim { .. } | InstanceDef::CloneShim(..) => {} |
