blocks_in_if_conditions
shouldn't be triggered by a closure
#8099
Labels
C-bug
Category: Clippy is not doing the correct thing
good-first-issue
These issues are a good way to get started with Clippy
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Summary
Someway somehow a function closure parameter that returns
{}
triggersblocks_in_if_conditions
if the function is wrapped inside anif
condition.Reproducer
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: