Skip to content
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

Ensure that we process projections during MIR inlining #67796

Merged
merged 1 commit into from
Jan 3, 2020

Commits on Jan 2, 2020

  1. Ensure that we process projections during MIR inlining

    Fixes rust-lang#67710
    
    Previously, we were not calling `super_place`, which resulted in us
    failing to update any local references that occur in
    ProjectionElem::Index. This caused the post-inlining MIR to contain a
    reference to a local ID from the inlined callee, leading to an ICE
    due to a type mismatch.
    Aaron1011 committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    e8e53b5 View commit details
    Browse the repository at this point in the history