-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Tracking issue for inclusion of derive
in lint unused_attributes
#54651
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
... and that name is |
Does not appear to squelch the warning for me... |
derive
should have a lint namederive
in lint unused_attributes
It seems eminently reasonable to me to include @rfcbot merge |
Team member @Centril has proposed to merge this. The next step is review by the rest of the tagged teams:
No concerns currently listed. Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
Implementing this as part of the existing |
I need to make |
Seems reasonable. And a macro that might end up with an empty derive list should have no problem turning off |
@rfcbot reviewed I certainly agree with moving warnings to lints. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. |
Lint empty `#[derive()]` as unused attribute. Closes rust-lang#54651. cc rust-lang#55112 r? @petrochenkov
Lint empty `#[derive()]` as unused attribute. Closes rust-lang#54651. cc rust-lang#55112 r? @petrochenkov
The following code emits an unsquelchable warning.
This warning should have a named lintunused_derive
that is a part of theunused
group of lints.This warning should be a part of
unused_attributes
.The text was updated successfully, but these errors were encountered: