Use declare_lint_pass!
for internal lints
#59683
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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.impl_lint_pass!
here)declare_lint_pass!
here)cc @oli-obk @flip1995
The text was updated successfully, but these errors were encountered: