diff options
| author | Catherine Flores <catherine.3.flores@gmail.com> | 2024-12-02 02:51:48 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-02 02:51:48 +0000 |
| commit | 278e316d67d463c8f279673c361dd1b5bdf6b4ee (patch) | |
| tree | 190dd9c23b91af5e584138417043891f0d3788ab /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 0a1ba2ca07c9aa876ba9be5050310931cff9458a (diff) | |
| parent | febe5491133b4b56d6c798552b96f5edc5e09479 (diff) | |
| download | rust-278e316d67d463c8f279673c361dd1b5bdf6b4ee.tar.gz rust-278e316d67d463c8f279673c361dd1b5bdf6b4ee.zip | |
Fix needless_match FP on if-lets (#13646)
Closes #13574
Make sure that `needless_match` doesn't simplify:
```
if let Some(_) = a() {
// ..
} else let Some(_) = b() {
// ..
}
```
to:
```
a()
```
changelog: [`needless_match`]: Fix false-positive on if lets
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
