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

Change scope of temporaries in match guards #88678

Merged
merged 1 commit into from
Sep 6, 2021

Commits on Sep 5, 2021

  1. Change scope of temporaries in match guards

    Each pattern in a match arm has its own copy of the match guard in MIR,
    with its own temporary, so it has to be dropped before the the guards
    are joined to the single copy of the arm.
    matthewjasper committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    ad7f109 View commit details
    Browse the repository at this point in the history