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

Don't call temporary_scope twice. #108692

Merged
merged 1 commit into from
Mar 4, 2023

Commits on Mar 3, 2023

  1. Don't call temporary_scope twice.

    `mirror_expr_inner` calls `temporary_scope`. It then calls
    `make_mirror_unadjusted` which makes an identical call to
    `temporary_scope`.
    
    This commit changes the `mirror_expr_inner` to get the `temp_lifetime`
    out of the expression produced by `make_mirror_unadjusted`, similar to
    how it currently gets the type.
    nnethercote committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    6b9c412 View commit details
    Browse the repository at this point in the history