False positive in block_in_if_condition_stmt: block generated by macro #3482
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
It doesn't look like there is a complex block or closure with block in the if-condition, although maybe the
unimplemented!()
macro expands to a block. The same lint does not trigger on|| unimplemented()
in the same position, so I believe it should also not trigger for|| unimplemented!()
.I believe this is a different false positive from #1141.
clippy 0.0.212 (b2601be 2018-11-27)
The text was updated successfully, but these errors were encountered: