-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Tracking Issue for warning on unused lifetimes (by default) #94038
Copy link
Copy link
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-impl-incompleteStatus: The implementation is incomplete.Status: The implementation is incomplete.T-langRelevant to the language teamRelevant to the language teamT-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-impl-incompleteStatus: The implementation is incomplete.Status: The implementation is incomplete.T-langRelevant to the language teamRelevant to the language teamT-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This issue is tracking the transition of the
unused_lifetimeslint to warn-by-default (or higher).About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
Several concerns were raised as blocking in #92386:
Additionally, a plausible half step was suggested that enabling the lint for
impllifetime declarations would likely have no semver compatibility concerns and so be feasible to land more quickly.Known bugs (list may be incomplete)
unused_lifetimeswarning misses unused lifetime #74165unused-lifetimeslint duplicates "parameter is never used" error #72587Prior "tracking" issue: #41960