Skip to content

rustc_public: lower CoroutineClosure types to SMIR#578

Open
SebTardif wants to merge 1 commit into
mainfrom
fix-r71-smir-coroutine-closure
Open

rustc_public: lower CoroutineClosure types to SMIR#578
SebTardif wants to merge 1 commit into
mainfrom
fix-r71-smir-coroutine-closure

Conversation

@SebTardif

Copy link
Copy Markdown
Owner

Summary

Replace todo!("FIXME(async_closures): Lower these to SMIR") with a proper RigidTy::CoroutineClosure conversion using tables.coroutine_closure_def, matching the existing Closure/Coroutine arms and the internal/MIR paths that already support this variant.

Closes #575

Origin

rust-lang@c567edd (CoroutineClosure variant)

rust-lang@881b6b5 (SMIR todo stub)

Test plan

RigidTy::CoroutineClosure and coroutine_closure_def already exist; finish
the stable conversion path instead of todo! on async closure types.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rustc_public: CoroutineClosure types todo! in stable SMIR conversion

1 participant