-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Allow Transmute in Analysis(PostCleanup) #137264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Fix 137243
r? @wesleywiser rustbot has assigned @wesleywiser. Use |
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
I don't think this is the right fix. The problem here is just that the phase is not updated correctly for coroutine bodies, since coroutine lowering happens on the The correct fix would be to set the coroutine drop shim body's phase to |
r? compiler-errors @rustbot author |
…se, r=scottmcm Proactively update coroutine drop shim's phase to account for later passes applied during shim query See comments in the pass and on test. Also see rust-lang#137264 (comment). Fixes rust-lang#137243 Fixes rust-lang#139698 r? scottmcm
Rollup merge of rust-lang#139699 - compiler-errors:coroutine-drop-phase, r=scottmcm Proactively update coroutine drop shim's phase to account for later passes applied during shim query See comments in the pass and on test. Also see rust-lang#137264 (comment). Fixes rust-lang#137243 Fixes rust-lang#139698 r? scottmcm
Fix #137243