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 |
||
|---|---|---|
| .. | ||
| test_utils | ||
| ui | ||
| ui-cargo | ||
| ui-internal | ||
| ui-toml | ||
| workspace_test | ||
| check-fmt.rs | ||
| clippy.toml | ||
| compile-test.rs | ||
| config-metadata.rs | ||
| dogfood.rs | ||
| headers.rs | ||
| integration.rs | ||
| lint_message_convention.rs | ||
| missing-test-files.rs | ||
| versioncheck.rs | ||
| workspace.rs | ||