diff options
| author | bors <bors@rust-lang.org> | 2023-12-16 18:08:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-16 18:08:22 +0000 |
| commit | b91843471717907abe2588cac98608dc23305584 (patch) | |
| tree | 101400ddad6685b37151e52a48890b37046db48c /tests/debuginfo/enum-thinlto.rs | |
| parent | a859e5cc1ce100df22346a1005da30532d04de59 (diff) | |
| parent | bc22407b79e551d0604097155b512b11aa5516b1 (diff) | |
| download | rust-b91843471717907abe2588cac98608dc23305584.tar.gz rust-b91843471717907abe2588cac98608dc23305584.zip | |
Auto merge of #11974 - y21:if_let_true, r=llogiq
[`redundant_pattern_matching`]: lint `if let true`, `while let true`, `matches!(.., true)` Closes #11917 This could also lint e.g. `if let (true, true, false) = (a, b, c)` and suggest `if a && b && c`, but that's a change in semantics (going from eager to lazy, so I just left it out for now. Could be a future improvement. changelog: [`redundant_pattern_matching`]: lint `if let true`, `while let true`, `matches!(.., true)`
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
