Incorrect handling of rustc_on_unimplemented for duplicated_attributes #12619
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
I ran clippy on the standard library and it complained about duplicated attributes that were not duplicated.
This does not affect the new
diagnostic::on_unimplemented
attribute, as it does not supporton
syntax.Lint Name
duplicated_attributes
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
No lints, this is some excellent code straight from the standard library
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: