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

Consider mutations as borrows in generator drop tracking #94068

Merged
merged 1 commit into from
Feb 25, 2022

Commits on Feb 16, 2022

  1. Consider mutations as borrows in drop tracking

    This is needed to match MIR more conservative approximation of any
    borrowed value being live across a suspend point (See rust-lang#94067). This
    change considers an expression such as `x.y = z` to be a borrow of `x`
    and therefore keeps `x` live across suspend points.
    eholk committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    074d757 View commit details
    Browse the repository at this point in the history