Closed
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.
Metadata
Metadata
Assignees
Labels
Area: Lints (warnings about flaws in source code) such as unused_mut.Blocker: Approved by a merged RFC but not yet implemented.Category: An issue tracking the progress of sth. like the implementation of an RFC`#![feature(lint_reasons)]`Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.Relevant to the language team, which will review and decide on the PR/issue.