about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorCatherine Flores <catherine.3.flores@gmail.com>2024-12-02 02:51:48 +0000
committerGitHub <noreply@github.com>2024-12-02 02:51:48 +0000
commit278e316d67d463c8f279673c361dd1b5bdf6b4ee (patch)
tree190dd9c23b91af5e584138417043891f0d3788ab /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent0a1ba2ca07c9aa876ba9be5050310931cff9458a (diff)
parentfebe5491133b4b56d6c798552b96f5edc5e09479 (diff)
downloadrust-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