You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5d181d6
Browse filesBrowse the repository at this point in the historyBrowse files
Rollup merge of #164077 - adwinwhite:phase-hack, r=jdonszelmann
replace `TypingEnv::post_analysis()` with `mir::Body::typing_env()`
This PR fixes the correspondence between typing modes and MIR phases so that some passes don't have to fix that inconsistency themselves.
Similar to #163745
We should discourage constructing a typing env by hand when it can be derived from context.
This simplifies reasoning and reduces the mistake of not resetting rigidness markers across typing envs.
r? lcnr
0 commit comments