diff options
| author | bors <bors@rust-lang.org> | 2021-08-22 13:26:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-08-22 13:26:32 +0000 |
| commit | e5fe4625ffa052502abbe99fa5f8b8ddcdc10541 (patch) | |
| tree | 6154293ec1a38bfab3906c7d90efb0e3421145c9 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 5fec618d2e1d377a832064f7806b8180e1287ce8 (diff) | |
| parent | ae02282ad0296d868a1e7d63d605834e311bb80f (diff) | |
| download | rust-e5fe4625ffa052502abbe99fa5f8b8ddcdc10541.tar.gz rust-e5fe4625ffa052502abbe99fa5f8b8ddcdc10541.zip | |
Auto merge of #88163 - camsteffen:collapsible-match-fix, r=Manishearth
Fix clippy::collapsible_match with let expressions This fixes rust-lang/rust-clippy#7575 which is a regression from #80357. I am fixing the bug here instead of in the clippy repo (if that's okay) because a) the regression has not been synced yet and b) I would like to land the fix on nightly asap. The fix is basically to re-generalize `match` and `if let` for the lint implementation (they were split because `if let` no longer desugars to `match` in the HIR). Also fixes rust-lang/rust-clippy#7586 and fixes rust-lang/rust-clippy#7591 cc `@rust-lang/clippy` `@xFrednet` do you want to review this?
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
