about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-03 09:14:58 +0000
committerbors <bors@rust-lang.org>2024-01-03 09:14:58 +0000
commit0153ca95ae588f0423f919e199370b6ff02b02c1 (patch)
tree18a825c143060ff799b368fc906b2ef0341a7e1b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent2eb13d3a7cb19372c40d3db1b45274e126a8dbf2 (diff)
parent7107aa22b2219ff11b645178e32d3905ad99da7d (diff)
downloadrust-0153ca95ae588f0423f919e199370b6ff02b02c1.tar.gz
rust-0153ca95ae588f0423f919e199370b6ff02b02c1.zip
Auto merge of #12062 - GuillaumeGomez:fix-false-positive-unconditional_recursion, r=xFrednet
Fix false positive `unconditional_recursion`

Fixes #12052.

Only checking if both variables are `local` was not enough, we also need to confirm they have the same type as `Self`.

changelog: Fix false positive for `unconditional_recursion` lint
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions