diff options
| author | bors <bors@rust-lang.org> | 2021-02-03 20:53:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-02-03 20:53:08 +0000 |
| commit | e708cbd91c9cae4426d69270248362b423324556 (patch) | |
| tree | 292389d778b37e739023f2df6a70edb2a7b9c83d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 120b2a704a60d4341286bd82f6e638c65ca169b6 (diff) | |
| parent | bc84e211075e4c53e6fd122353f3132939e45ff9 (diff) | |
| download | rust-e708cbd91c9cae4426d69270248362b423324556.tar.gz rust-e708cbd91c9cae4426d69270248362b423324556.zip | |
Auto merge of #81717 - Aaron1011:fix/closure-diag, r=estebank
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
