Incorrect clippy::useless_attribute
for disallowed_types
#12753
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
disallowed_types
is valid onuse
items.Lint Name
useless_attribute
Reproducer
With this
clippy.toml
:I tried this code:
I saw this happen:
I expected to see this happen: (no failing lints)
Version
Additional Labels
@rustbot label +C-bug
@rustbot label +I-false-positive
The text was updated successfully, but these errors were encountered: