Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTracking issue for inclusion of `derive` in lint `unused_attributes` #54651
Comments
Havvy
added
A-attributes
A-lint
C-feature-request
labels
Sep 28, 2018
This comment has been minimized.
This comment has been minimized.
... and that name is |
This comment has been minimized.
This comment has been minimized.
Does not appear to squelch the warning for me... |
Centril
added
the
T-lang
label
Sep 29, 2018
Centril
changed the title
warning: empty trait list in `derive` should have a lint name
Tracking issue for inclusion of `derive` in lint `unused_attributes`
Sep 29, 2018
Centril
added
C-tracking-issue
and removed
C-feature-request
labels
Sep 29, 2018
This comment has been minimized.
This comment has been minimized.
|
It seems eminently reasonable to me to include @rfcbot merge |
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
Sep 29, 2018
•
|
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. |
rfcbot
added
proposed-final-comment-period
disposition-merge
labels
Sep 29, 2018
This comment has been minimized.
This comment has been minimized.
|
Implementing this as part of the existing |
This comment has been minimized.
This comment has been minimized.
|
I need to make |
zackmdavis
referenced this issue
Oct 5, 2018
Closed
#[must_use] is permitted on functions without return type #54828
This was referenced Oct 16, 2018
This comment has been minimized.
This comment has been minimized.
|
Seems reasonable. And a macro that might end up with an empty derive list should have no problem turning off |
This comment has been minimized.
This comment has been minimized.
|
@rfcbot reviewed I certainly agree with moving warnings to lints. |
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
Nov 23, 2018
|
|
rfcbot
added
final-comment-period
and removed
proposed-final-comment-period
labels
Nov 23, 2018
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
Dec 3, 2018
|
The final comment period, with a disposition to merge, as per the review above, is now complete. |
Havvy commentedSep 28, 2018
•
edited
The following code emits an unsquelchable warning.
This warning should have a named lintunused_derivethat is a part of theunusedgroup of lints.This warning should be a part of
unused_attributes.