diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-02-03 12:33:27 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-02-03 12:36:24 -0500 |
| commit | bc84e211075e4c53e6fd122353f3132939e45ff9 (patch) | |
| tree | ac4c6ded68d81f3a01ac9fa84f4d6b4858614b12 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 6ad11e2e25919b75ebbc36d7910f2a1126a7e873 (diff) | |
| download | rust-bc84e211075e4c53e6fd122353f3132939e45ff9.tar.gz rust-bc84e211075e4c53e6fd122353f3132939e45ff9.zip | |
Fix panic when emitting diagnostic for closure mutable binding error
Fixes #81700 The upvar borrow kind may be `ty::BorrowKind::UniqueImmBorrow`, which is still a mutable borrow for the purposes of this diagnostic code.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
