Closed
Description
In #59669 a declare_lint_pass!
macro is introduced. In #59316 two new lints are added that don't use this macro. This issue tracks fixing that.
- https://github.com/rust-lang/rust/pull/59316/files#diff-2451d441a5f5b7e7b0d0a63f45b66212R31 (use
impl_lint_pass!
here) - https://github.com/rust-lang/rust/pull/59316/files#diff-2451d441a5f5b7e7b0d0a63f45b66212R73 (use
declare_lint_pass!
here)
Metadata
Metadata
Assignees
Labels
Area: Lints (warnings about flaws in source code) such as unused_mut.Category: PRs that clean code up or issues documenting cleanup.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Relevant to the compiler team, which will review and decide on the PR/issue.