Uh oh!
There was an error while loading. Please reload this page.
Uplift drop-bounds lint from clippy - #75699
Conversation
rust-highfive
commented
Aug 19, 2020
(rust_highfive has picked a reviewer for you, use r? to override) |
c4ebc01 to
eadf7f7CompareUh oh!
There was an error while loading. Please reload this page.
eadf7f7 to
95d5e0dCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
petrochenkov
commented
Aug 19, 2020
This looks reasonable to me. |
Uh oh!
There was an error while loading. Please reload this page.
notriddle
commented
Aug 19, 2020
rust-lang/compiler-team#347 Is the MCP |
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
ba85cc2 to
0f4e18fComparenotriddle
commented
Sep 11, 2020
@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. |
spastorino
commented
Sep 30, 2020
This is no longer waiting on team, MCP has been accepted. |
bors
commented
Oct 1, 2020
📌 Commit cd159fd has been approved by |
…chenkov Uplift drop-bounds lint from clippy Bounds on `T: Drop` do nothing, so they should warn.
bors
commented
Oct 2, 2020
⌛ Testing commit cd159fd with merge 866ac1183a3d7ac82f37bd74092d140977ac13ab... |
bors
commented
Oct 2, 2020
💔 Test failed - checks-actions |
petrochenkov
commented
Oct 2, 2020
Some clippy tests need to be updated. |
flip1995
commented
Oct 2, 2020
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 |
petrochenkov
commented
Oct 3, 2020
@bors r+ |
bors
commented
Oct 3, 2020
📌 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: Dropdo nothing, so they should warn.