diff options
| author | bors <bors@rust-lang.org> | 2023-04-24 19:33:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-24 19:33:53 +0000 |
| commit | 30db6edf3667c056c5623a5bf21d457d1c630fb6 (patch) | |
| tree | db4a9c880c28f29daef62258a7cb20cd2465fabc /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 4b6fdb4dffa459416abb73af5e1e0dadf217e344 (diff) | |
| parent | e8726b20b2a64b4553c87d02a330fd2bc62064bd (diff) | |
| download | rust-30db6edf3667c056c5623a5bf21d457d1c630fb6.tar.gz rust-30db6edf3667c056c5623a5bf21d457d1c630fb6.zip | |
Auto merge of #10707 - y21:redudant_pattern_matching_rest_pat, r=Manishearth
check for `..` pattern in `redundant_pattern_matching` The `redundant_pattern_matching` lint currently checks for `if let Some(_) = ...`, but not for `if let Some(..) = ...`. This PR makes sure to also check for the `..` pattern in tuple structs. It also found one such instance in clippy itself so that shows it's worth checking for this pattern as well 😅 changelog: [`redundant_pattern_matching`]: check for `..` pattern in tuple structs
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
