-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.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 RFCF-lint_reasons`#![feature(lint_reasons)]``#![feature(lint_reasons)]`S-tracking-needs-summaryStatus: It's hard to tell what's been done and what hasn't! Someone should do some investigation.Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.T-langRelevant to the language teamRelevant to the language team
Description
This is a tracking issue for the RFC "Lint Reasons RFC" (rust-lang/rfcs#2383).
Steps:
- Implement the RFC (cc @rust-lang/compiler -- can anyone write up mentoring instructions?)
- Implement
reason =
lint reasons (RFC 2383, part 1) #54683 - Implement
#[expect(lint)]
-- see Implement expect attribute from RFC 2383, "Lint Reasons RFC" #85549
- Implement
- Adjust documentation (see instructions on forge)
- Stabilization PR: Let's
#[expect]
some lints: Stabilizelint_reasons
(RFC 2383) #120924
Unresolved questions:
- The use sites of the reason parameter.
stanislav-tkach, xFrednet, bhgomes, pro465, zohnannor and 21 moreScripter17Ltrlg, kamulos, mightyiam, andrewgazelka, xixixao and 9 more
Metadata
Metadata
Assignees
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.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 RFCF-lint_reasons`#![feature(lint_reasons)]``#![feature(lint_reasons)]`S-tracking-needs-summaryStatus: It's hard to tell what's been done and what hasn't! Someone should do some investigation.Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.T-langRelevant to the language teamRelevant to the language team