Repository navigation
chore: enforce clippy::allow_attributes for 7 crates #19133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b4bf48f
34b5758
829c080
c7f02f6
a2064f3
8af0973
ec4108f
f95c01a
7d792b6
3764430
a59f2f8
9e839de
49d593d
27835f5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3235,6 +3235,7 @@ impl PartialOrd for Analyze { | |
| // TODO(clippy): This clippy `allow` should be removed if | ||
| // the manual `PartialEq` is removed in favor of a derive. | ||
| // (see `PartialEq` the impl for details.) | ||
| #[allow(clippy::allow_attributes)] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why not change this #[expect(clippy::derived_hash_with_manual_eq)]?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi, if we change Seems like expect can't override clippy's default deny-level lint |
||
| #[allow(clippy::derived_hash_with_manual_eq)] | ||
| #[derive(Debug, Clone, Eq, Hash)] | ||
| pub struct Extension { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is removing the existing allow for needless_pass_by_value in tests intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the CI was failing with "unfulfilled lint expectations" because the needless_pass_by_value lint wasn't actually being triggered in the test code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might need to think of a way to keep this, as the intention is that for any future tests we have this lint disabled