Skip to content

Tracking Issue for warning on unused lifetimes (by default) #94038

Open
@Mark-Simulacrum

Description

@Mark-Simulacrum

This issue is tracking the transition of the unused_lifetimes lint 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 impl lifetime declarations would likely have no semver compatibility concerns and so be feasible to land more quickly.

Known bugs (list may be incomplete)

Prior "tracking" issue: #41960

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-impl-incompleteStatus: The implementation is incomplete.T-langRelevant to the language team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions