Skip to content

[WIP] Check coroutine upvars and resume ty in dtorck constraint, this time based off of TypingMode#144158

Closed
compiler-errors wants to merge 2 commits intorust-lang:mainfrom
compiler-errors:dtorck-better
Closed

[WIP] Check coroutine upvars and resume ty in dtorck constraint, this time based off of TypingMode#144158
compiler-errors wants to merge 2 commits intorust-lang:mainfrom
compiler-errors:dtorck-better

Conversation

@compiler-errors
Copy link
Copy Markdown
Contributor

@compiler-errors compiler-errors commented Jul 18, 2025

cc #144156, see the paragraph about a better approach.

This is broken until we start using TypingMode::Borrowck unconditionally. This also has some perf implications, since there were a few places we were collapsing TypingMode::Borrowck { defining_opaque_types: [] } into a non-body analysis typing mode, which means we may have to go back to splitting the caching between these modes.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants