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

Fix panic when emitting diagnostic for closure mutable binding error #81717

Merged
merged 1 commit into from Feb 3, 2021

Commits on Feb 3, 2021

  1. Fix panic when emitting diagnostic for closure mutable binding error

    Fixes rust-lang#81700
    
    The upvar borrow kind may be `ty::BorrowKind::UniqueImmBorrow`, which is
    still a mutable borrow for the purposes of this diagnostic code.
    Aaron1011 committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    bc84e21 View commit details
    Browse the repository at this point in the history