-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Uplift drop-bounds lint from clippy #75699
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
c4ebc01
to
eadf7f7
Compare
eadf7f7
to
95d5e0d
Compare
This looks reasonable to me. |
rust-lang/compiler-team#347 Is the MCP |
This comment has been minimized.
This comment has been minimized.
ba85cc2
to
0f4e18f
Compare
@rustbot modify labels: +S-waiting-on-review and -S-waiting-on-author |
r=me on the implementation after squashing commits. |
Should we directly deprecate the lint from Clippy in this PR or do it in Clippy after this PR is merged and sync it back to rustc? I can guide through the process of deprecating Clippy lints. |
This is no longer waiting on team, MCP has been accepted. |
📌 Commit cd159fd has been approved by |
…chenkov Uplift drop-bounds lint from clippy Bounds on `T: Drop` do nothing, so they should warn.
⌛ Testing commit cd159fd with merge 866ac1183a3d7ac82f37bd74092d140977ac13ab... |
💔 Test failed - checks-actions |
Some clippy tests need to be updated. |
Either we update the Clippy tests here, then sync these changes to Clippy, then deprecate the lint in Clippy, and then sync it back to rustc or We deprecate the lint here, don't have to go through the whole sync process twice and make Clippy test-pass at the same time. Instructions how to deprecate a Clippy lint:
Or just apply this patch: https://gist.github.com/flip1995/bbde96b04ca768f4ed7713dd53f23641 |
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.
ACK Clippy change 👍
@bors r+ |
📌 Commit dceb81a has been approved by |
…chenkov Uplift drop-bounds lint from clippy Bounds on `T: Drop` do nothing, so they should warn.
Rollup of 11 pull requests Successful merges: - rust-lang#75143 (Use `tracing` spans to trace the entire MIR interp stack) - rust-lang#75699 (Uplift drop-bounds lint from clippy) - rust-lang#76768 (Test and reject out-of-bounds shuffle vectors) - rust-lang#77190 (updated p! macro to accept literals) - rust-lang#77388 (Add some regression tests) - rust-lang#77419 (Create E0777 error code for invalid argument in derive) - rust-lang#77447 (BTreeMap: document DrainFilterInner better) - rust-lang#77468 (Fix test name) - rust-lang#77469 (Improve rustdoc error for failed intra-doc link resolution) - rust-lang#77473 (Make --all-targets in x.py check opt-in) - rust-lang#77508 (Fix capitalization in blog post name) Failed merges: r? `@ghost`
Bounds on
T: Drop
do nothing, so they should warn.