False positive for if_same_then_else
#3559
Labels
C-bug
Category: Clippy is not doing the correct thing
if_same_then_else
#3559
Hello,
I was using clippy to check some code I wrote for advent of code 2018 and I believe I have a false positive for
if_same_then_else
.The piece of code I get the error for:
cargo clippy
output:In the code it either iterates from
from
toto
for x or y while p determines the stationary point. The blocks actually have different outcomes.cargo clippy -V
output:The same error is reported on the version on Rust Playground:
Playground Link
The text was updated successfully, but these errors were encountered: