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 mark borrows of zero-sized arrays as indirectly mutable #64967

Merged
merged 3 commits into from
Oct 2, 2019

Commits on Oct 1, 2019

  1. Pass attrs to do_dataflow in new const checker

    This is needed to dump graphviz results for the `IndirectlyMutableLocals` analysis.
    ecstatic-morse committed Oct 1, 2019
    Configuration menu
    Copy the full SHA
    a1ad38f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d84646 View commit details
    Browse the repository at this point in the history
  3. Add test cases for rust-lang#64945

    This also tests that `&&[]` no longer causes an ICE in this PR (although
    the test fails the borrow checker). This could be more complete.
    ecstatic-morse committed Oct 1, 2019
    Configuration menu
    Copy the full SHA
    4eeedd0 View commit details
    Browse the repository at this point in the history