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

Check type of place base (not projection) for Freeze in IndirectlyMutableLocals #65030

Closed

Commits on Oct 2, 2019

  1. Check type of place base (not projection) for !Freeze

    This prevents unsafe code from taking a reference to a field that is
    `Freeze` and using pointer arithmetic to change it to a reference to a
    field that is not `Freeze` without causing a local to become marked as
    indirectly mutable. Instead, taking a reference to the `Freeze` field
    will cause the whole struct to be marked as indirectly mutable.
    ecstatic-morse committed Oct 2, 2019
    Configuration menu
    Copy the full SHA
    64457a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da0969f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6487ce0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f89429 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    895f9c4 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2019

  1. Configuration menu
    Copy the full SHA
    91c77e9 View commit details
    Browse the repository at this point in the history