about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-15 04:06:52 +0000
committerbors <bors@rust-lang.org>2024-01-15 04:06:52 +0000
commita9fa2f5ed1a80c692de249d1a86279dd2f832a30 (patch)
tree54c899e8cbc7c1dd6203ed067b26cd574c6782d8 /compiler/rustc_llvm/llvm-wrapper
parenta71211d0b52c01f1b37fe544e0e13fd1bdc31979 (diff)
parent543d56938e23865eb70b49f153c71a2057668c79 (diff)
downloadrust-a9fa2f5ed1a80c692de249d1a86279dd2f832a30.tar.gz
rust-a9fa2f5ed1a80c692de249d1a86279dd2f832a30.zip
Auto merge of #12074 - ARandomDev99:12044-include-comments-while-checking-duplicate-code, r=Jarcho
Make `HirEqInterExpr::eq_block` take comments into account while checking if two blocks are equal

This PR:
- now makes `HirEqInterExpr::eq_block` take comments into account. Identical code with varying comments will no longer be considered equal.
- makes necessary adjustments to UI tests.

Closes #12044

**Lintcheck Changes**
- `match_same_arms` 53 => 52
- `if_same_then_else` 3 => 0

changelog: [`if_same_then_else`]: Blocks with different comments will no longer trigger this lint.
changelog: [`match_same_arms`]: Arms with different comments will no longer trigger this lint.
```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions