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

[NLL] Mutability errors #52405

Merged
merged 4 commits into from
Jul 21, 2018
Merged

Commits on Jul 20, 2018

  1. MIR changes to improve NLL cannot mutate errors

    Alway use unique instead of mutable borrows immutable upvars.
    Mark variables that are references for a match guard
    matthewjasper committed Jul 20, 2018
    Configuration menu
    Copy the full SHA
    c3dbdfe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db568e4 View commit details
    Browse the repository at this point in the history
  3. Improve NLL mutability errors

    * Better explain why the place is immutable
    * Distinguish &T and *const T
    * Use better spans when a mutable borrow is for a closure capture
    matthewjasper committed Jul 20, 2018
    Configuration menu
    Copy the full SHA
    13b5f69 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a06b243 View commit details
    Browse the repository at this point in the history