Skip to content

Implement expect attribute from RFC 2383, "Lint Reasons RFC" #85549

Closed
@nikomatsakis

Description

@nikomatsakis

This issue is part of #54503. It is specifically focused on implementing the #[expect] attribute for lints.


A working lint implementation can be found in #87835. The implementation still left the to-dos open for follow-up PRs:

The open questions will be asked in the RFC Tracking issue 🙃

Metadata

Metadata

Assignees

Labels

A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.F-lint_reasons`#![feature(lint_reasons)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions