Skip to content

rustc_public: lower UnsafeBinder and CoroutineClosure types to SMIR#588

Open
SebTardif wants to merge 1 commit into
mainfrom
fix-r73-smir-unsafe-binder-ty
Open

rustc_public: lower UnsafeBinder and CoroutineClosure types to SMIR#588
SebTardif wants to merge 1 commit into
mainfrom
fix-r73-smir-unsafe-binder-ty

Conversation

@SebTardif

Copy link
Copy Markdown
Owner

Summary

Closes #585

Related: #567, #575, #578

Origin

rust-lang@9a1c5eb5b38 (UnsafeBinder)

rust-lang@c567edd (CoroutineClosure)

Test plan

  • UnsafeBinder path consistent with other ty queries (erase regions, use inner)
  • CoroutineClosure symmetric with Closure/Coroutine arms and internal convert
  • Code review

- UnsafeBinder: lower via erased inner type (avoids todo! without a
  dedicated RigidTy variant yet)
- CoroutineClosure: lower with coroutine_closure_def like Closure/Coroutine

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: ty::UnsafeBinder todo! in stable type convert

1 participant