False-positive extra_unused_type_parameters #11014
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
It seems to be a joint issue with
bytemuck::Zeroable
.My
rust-toolchain.toml
:Cargo.toml:
Lint Name
extra_unused_type_parameters
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
No warnings should be produced here. The
Item
is used by the struct definition. A more complex example of this bug can be seen here: enso-org/enso#7109 (comment)Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: