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
Rollup merge of #147092 - cjgillot:late-validate-mir, r=compiler-errors
Do not compute optimized MIR if code does not type-check.
Since #128612, we compute optimized MIR when `-Zvalidate-mir` is present.
This is done as part of required analyses, even if type-checking fails. This causes ICEs, as most of the mir-opt pipeline expects well-formed code.
Fixes#129095Fixes#134174Fixes#134654Fixes#135570Fixes#136381Fixes#137468Fixes#144491Fixes#147011
This does not fix issue #137190, as it ICEs without `-Zvalidate-mir`.
r? ``@compiler-errors``
0 commit comments