-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
[stable] Lower lint level for READ_ZERO_BYTE_VEC #103859
Conversation
This avoids reporting false-positives; see rust-lang/rust-clippy#9274 for details.
@Mark-Simulacrum: no appropriate reviewer found, use r? to override |
|
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
@bors rollup=never p=100 |
You will probably have to run Otherwise this sgtm |
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.
r=me
but you need to run cargo dev update_lints
to update the lint categories
This comment has been minimized.
This comment has been minimized.
LintId::of(redundant_pub_crate::REDUNDANT_PUB_CRATE), | ||
LintId::of(regex::TRIVIAL_REGEX), | ||
LintId::of(strings::STRING_LIT_AS_BYTES), | ||
LintId::of(suspicious_operation_groupings::SUSPICIOUS_OPERATION_GROUPINGS), | ||
LintId::of(trailing_empty_array::TRAILING_EMPTY_ARRAY), | ||
LintId::of(trait_bounds::TRAIT_DUPLICATION_IN_BOUNDS), | ||
LintId::of(trait_bounds::TYPE_REPETITION_IN_BOUNDS), |
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.
This seems right according to the content of the lint definition but obviously isn't a change I made in this PR -- is this OK?
This comment has been minimized.
This comment has been minimized.
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.
LGTM. the other changes are from a limbo state this lint was in. Probably due to a weird sync.
Those files are removed anyway with the next sync, so this change is fine 👍
@bors r=flip1995 |
⌛ Testing commit 7c57093 with merge e30a6fdeba4586b8bce3bd50628ac2dbc05258b2... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
@bors r=flip1995 |
☀️ Test successful - checks-actions |
…load, r=jyn514 Fix artifact version/channel detection for stable On stable, our artifacts are uploaded with the raw version number (e.g., 1.65.0), not the channel. This adjusts our detection logic to use the version number from src/version when we detect the stable channel. This is really only important for stable channel re-builds, I think, but those do happen from time to time. I'm backporting a similar commit in rust-lang#103859 to make that PR pass CI.
This avoids reporting false-positives; see rust-lang/rust-clippy#9274 for details.
cc @rust-lang/clippy -- do we want a direct change landed on stable here? If so, please r+ this PR, otherwise we can just close it. Would appreciate confirmation this is the right change to make as well.
cc @joshtriplett -- filing due to https://rust-lang.zulipchat.com/#narrow/stream/301329-t-devtools/topic/clippy.20false.20positive