diff options
| author | bors <bors@rust-lang.org> | 2024-01-12 18:30:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-12 18:30:11 +0000 |
| commit | 7eca5afd34cb3ed089816456e534712a20b447ee (patch) | |
| tree | ae3ab63f16cd0eced74890aa9727e581e7afe805 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 88b5d519a10ff05d2127a3e146c929fab364a102 (diff) | |
| parent | 132667288a6b9de113b03ffb82962c9ee8ab576d (diff) | |
| download | rust-7eca5afd34cb3ed089816456e534712a20b447ee.tar.gz rust-7eca5afd34cb3ed089816456e534712a20b447ee.zip | |
Auto merge of #12137 - GuillaumeGomez:fix-unconditional_recursion-false-positive, r=llogiq
Fix false positive in `PartialEq` check in `unconditional_recursion` lint Fixes https://github.com/rust-lang/rust-clippy/issues/12133. We needed to check for the type of the previous element <del>in case it's a field</del>. EDIT: After some extra thoughts, no need to check if it's a field, just if it's the same type as `Self`. r? `@llogiq` changelog: Fix false positive in `PartialEq` check in `unconditional_recursion` lint
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
