Commit c07cbb9
committed
Auto merge of #8901 - Jarcho:sharing_code, r=dswij
Rework `branches_sharing_code`
fixes #7378
This changes the lint from checking pairs of blocks, to checking all the blocks at the same time. As such there's almost none of the original code left.
changelog: Don't lint `branches_sharing_code` when using different binding namesFile tree
7 files changed
+355
-447
lines changed- clippy_lints/src
- clippy_utils/src
- tests/ui/branches_sharing_code
7 files changed
+355
-447
lines changed
0 commit comments