clippy::question_mark suggests code that is semantically different to the original #7924
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Lint name:
clippy::question_mark
I tried this code:
I expected to see this happen: no recommendation
Instead, this happened:
The suggested replacement is not semantically equivalent to the original.
Meta
Rust version (
rustc -Vv
):The text was updated successfully, but these errors were encountered: