mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 08:46:38 +00:00
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