False positive on only_used_in_recursion #9384
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
Summary
The lint
only_used_in_recursion
is raising an error but I cannot figure out why.You can check this Rust Playground here.
Lint Name
only_used_in_recursion
Reproducer
I tried this code (Rust Playground):
I saw this happen:
I expected no error.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: