-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Couple of random coroutine pass simplifications #119322
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
r? @cjgillot (rustbot has picked a reviewer for you, use r? to override) |
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
} else { | ||
body.local_decls[resume_local].ty | ||
}; | ||
let resume_ty = body.local_decls[resume_local].ty; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The call to transform_async_context
above ensures that body.local_decls[resume_local].ty == Ty::new_task_context(tcx)
☔ The latest upstream changes (presumably #119174) made this pull request unmergeable. Please resolve the merge conflicts. |
85d9002
to
d71f7be
Compare
@bors r+ rollup |
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#119322 (Couple of random coroutine pass simplifications) - rust-lang#119374 (Italicise "bytes" in the docs of some `Vec` methods) - rust-lang#119388 (rustc_lint: Prevent triplication of various lints) - rust-lang#119406 (Add non-regression test for ATPIT ICE rust-lang#114325) - rust-lang#119410 (Rename test to be more descriptive) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#119322 - compiler-errors:async-gen-resume-ty, r=cjgillot Couple of random coroutine pass simplifications Just aesthetic changes, except for a random `Ty::new_task_context(tcx)` call that was redundant.
Just aesthetic changes, except for a random
Ty::new_task_context(tcx)
call that was redundant.