Skip to content

Prevent reads via original path of mutably borrowed content #12624

Closed

Description

@nikomatsakis

Activity

  1. pnkfelix commented on Mar 13, 2014

    @pnkfelix
    Contributor

    Assigning 1.0, P-backcompat-lang.

  2. added this to the 1.0 milestone on Mar 13, 2014
  3. flaper87 commented on Mar 26, 2014

    @flaper87
    Contributor
  4. added a commit that references this issue on May 1, 2014
  5. zwarich commented on May 25, 2014

    @zwarich

    I've got this implemented on top of my changes for #14318. It seems to be a simple change, modulo writing the new diagnostics. There are only 2 code changes required in the actual source base: https://gist.github.com/zwarich/13faf76055c960231ac9. There are more test changes required, but I haven't really looked into those.

  6. zwarich commented on May 26, 2014

    @zwarich

    I implemented the rule for field accesses and found a few more changes that had to be made, but they weren't too bad: https://gist.github.com/zwarich/862fda3a95c5968ab2e5. Most of the changes would be unnecessary with other borrowck changes like #6268.

  7. zwarich commented on May 26, 2014

    @zwarich

    And after going through all of libsyntax the changes grew quite a bit: https://gist.github.com/zwarich/aba959c57f312c894d49.

  8. zwarich commented on Jun 7, 2014

    @zwarich

    Now that #14318 is merged I will try to submit a PR this weekend that fixes this.

  9. added a commit that references this issue on Jun 14, 2014
  10. added a commit that references this issue on Jul 25, 2022
    19fad54
  11. added a commit that references this issue on May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions