-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
"exceeding_bitshifts" lint does not work in associated consts #69021
Copy link
Copy link
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.C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
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.C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The
exceeding_bitshiftslint should fire on the following code, but it does not:Playground
(This testcase now exists in-tree as a FIXME in
ui/lint/lint-exceeding-bitshifts.rs.)Cc @oli-obk @wesleywiser
This issue has been assigned to @jumbatm via this comment.