clippy::used_underscore_binding
fires on an unused function parameter
#12810
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
clippy::used_underscore_binding
fires on an unused function parameter.To reproduce:
You don't need the submodule to reproduce, and you can ignore the
dead_code
warning from another crate in the workspaceLint Name
used_underscore_binding
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
No output as
_ctx
is not usedVersion
Additional Labels
No response
The text was updated successfully, but these errors were encountered: