Add #[must_use] to From::from and Into::into#89770
Conversation
This comment has been minimized.
This comment has been minimized.
602cdac to
1d5f287
Compare
This comment has been minimized.
This comment has been minimized.
1d5f287 to
3d1996a
Compare
|
@bors r+ |
|
📌 Commit 3d1996a has been approved by |
|
@joshtriplett Should I go look at all the other traits like Edit: Bad examples, though. They're already must-use. |
…=joshtriplett Add #[must_use] to From::from and Into::into Risk of churn: **High** Magic 8-Ball says: **Outlook not so good** I figured I'd put this out there. If we don't do it now maybe we save it for a rainy day. Parent issue: rust-lang#89692 r? `@joshtriplett`
|
Rollup failure in #89783 , I think it is this pr, but not 100% sure |
|
Yes, it definitely is. What's the process here? I'll fix the test(s) and re-push. Do I need to do anything else? Any tips how I can verify that this is fixed for sure? This is the first time a change of mine has passed CI but failed in the rollup stage. |
|
iirc |
3d1996a to
f9692b5
Compare
|
Clippy tests fixed. |
|
@bors r+ |
|
📌 Commit f9692b5 has been approved by |
…=joshtriplett Add #[must_use] to From::from and Into::into Risk of churn: **High** Magic 8-Ball says: **Outlook not so good** I figured I'd put this out there. If we don't do it now maybe we save it for a rainy day. Parent issue: rust-lang#89692 r? `@joshtriplett`
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (9475e60): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
…oshtriplett Add #[must_use] to From::from and Into::into Risk of churn: **High** Magic 8-Ball says: **Outlook not so good** I figured I'd put this out there. If we don't do it now maybe we save it for a rainy day. Parent issue: rust-lang#89692 r? `@joshtriplett`
Risk of churn: High
Magic 8-Ball says: Outlook not so good
I figured I'd put this out there. If we don't do it now maybe we save it for a rainy day.
Parent issue: #89692
r? @joshtriplett