-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Move if_then_panic to pedantic and rename to manual_assert #7810
Conversation
r? @flip1995 (rust-highfive has picked a reviewer for you, use r? to override) |
Perhaps I should rename to |
461da36
to
582bf9a
Compare
☔ The latest upstream changes (presumably #7743) made this pull request unmergeable. Please resolve the merge conflicts. |
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.
Whoops, I should have reviewed this earlier...
r=me after rebase
We can still backport this to beta.
582bf9a
to
4d4ab83
Compare
4d4ab83
to
022146d
Compare
I changed the lint name references in the changelog @bors r=flip1995 |
📌 Commit 022146d has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
…lip1995 Move if_then_panic to pedantic and rename to manual_assert
[beta] Backport: Move if_then_panic to pedantic and rename to manual_assert Backport of #7810 cc `@camsteffen` r? `@ghost` changelog: none (same release)
…lacrum [beta] Backport Clippy lint renaming / regrouping This backports PR rust-lang/rust-clippy#7810 to beta, where a lint added in the 1.57 (current beta) release cycle was renamed shortly after the beta cutoff. We want to backport this, so we don't have unnecessary `lint_store.registered_renamed` calls in the Clippy codebase forever. (The formatting changes were necessary to pass this backport in the Clippy CI, removing it in a subtree sync would be a bit painful...) cc `@camsteffen`
822: Fix/suppress clippy lints on nightly r=Bromeon a=chitoyuu - Modified `LocalCell<T>` so the destructor is not called on a different thread. Allowed `clippy::non_send_fields_in_send_ty` otherwise. - Removed mentions of `if_then_panic` which is no longer a thing (`https://github.com/rust-lang/rust-clippy/pull/7810`). - A few other minor fixes. Co-authored-by: Chitose Yuuzaki <[email protected]>
822: Fix/suppress clippy lints on nightly r=Bromeon a=chitoyuu - Modified `LocalCell<T>` so the destructor is not called on a different thread. Allowed `clippy::non_send_fields_in_send_ty` otherwise. - Removed mentions of `if_then_panic` which is no longer a thing (`https://github.com/rust-lang/rust-clippy/pull/7810`). - A few other minor fixes. Co-authored-by: Chitose Yuuzaki <[email protected]>
822: Fix/suppress clippy lints on nightly r=Bromeon a=chitoyuu - Modified `LocalCell<T>` so the destructor is not called on a different thread. Allowed `clippy::non_send_fields_in_send_ty` otherwise. - Removed mentions of `if_then_panic` which is no longer a thing (`https://github.com/rust-lang/rust-clippy/pull/7810`). - A few other minor fixes. Co-authored-by: Chitose Yuuzaki <[email protected]>
822: Fix/suppress clippy lints on nightly r=Bromeon a=chitoyuu - Modified `LocalCell<T>` so the destructor is not called on a different thread. Allowed `clippy::non_send_fields_in_send_ty` otherwise. - Removed mentions of `if_then_panic` which is no longer a thing (`https://github.com/rust-lang/rust-clippy/pull/7810`). - A few other minor fixes. Co-authored-by: Chitose Yuuzaki <[email protected]>
822: Fix/suppress clippy lints on nightly r=Bromeon a=chitoyuu - Modified `LocalCell<T>` so the destructor is not called on a different thread. Allowed `clippy::non_send_fields_in_send_ty` otherwise. - Removed mentions of `if_then_panic` which is no longer a thing (`https://github.com/rust-lang/rust-clippy/pull/7810`). - A few other minor fixes. Co-authored-by: Chitose Yuuzaki <[email protected]>
Closes #7718
changelog: none (lint added since last release)