Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add From impls for wrapper types #146013

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

Open
Jules-Bertholet wants to merge 6 commits into rust-lang:master
base: master
Choose a base branch
Loading
from Jules-Bertholet:from-wrapper

Conversation

Copy link
Contributor

@Jules-Bertholet Jules-Bertholet commented Aug 29, 2025
edited
Loading

  • From<T: UnwindSafe> for AssertUnwindSafe<T>
  • From<T> for LazyCell<T, F>
  • From<T> for LazyLock<T, F>
  • From<T> for ThinBox<T> (unstable)
  • From<T> for UniqueRc<T> (unstable)
  • From<T> for UniqueArc<T> (unstable)

@rustbot label T-libs-api needs-fcp

Also needs a crater run, as the insta-stable impls are technically breaking changes.

- `From<T> for ThinBox<T>`
- `From<T> for UniqueRc<T>`
- `From<T> for UniqueArc<T>`
- `From<T> for ManuallyDrop<T>`
- `From<T> for AssertUnwindSafe<T>`
Copy link
Collaborator

rustbot commented Aug 29, 2025

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. needs-fcp This change is insta-stable, or significant enough to need a team FCP to proceed. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Aug 29, 2025
Copy link
Member

Kivooeo commented Aug 29, 2025
edited
Loading

@rustbot label +needs-crater

Copy link
Collaborator

rustbot commented Aug 29, 2025

Error: Label needs-crater can only be set by Rust team members

Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #triagebot on Zulip.

Kivooeo and GrigorenkoPV reacted with confused emoji

This comment has been minimized.

Copy link
Contributor

@bors try

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Aug 30, 2025
@tgross35 tgross35 added I-libs-api-nominated Nominated for discussion during a libs-api team meeting. and removed T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 30, 2025
Copy link

rust-bors bot commented Aug 30, 2025

☀️ Try build successful (CI)
Build commit: 804fff1 (804fff1ae95da9d03bd44eee27f258020a575dab, parent: fe55364329579d361b1ab565728bc033a7dba07e)

Copy link
Contributor

@craterbot check

Copy link
Collaborator

👌 Experiment pr-146013 created and queued.
🤖 Automatically detected try build 804fff1
🔍 You can check out the queue and this experiment's details.

i️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot craterbot added S-waiting-on-crater Status: Waiting on a crater run to be completed. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 30, 2025
Copy link
Collaborator

🚧 Experiment pr-146013 is now running

i️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

Copy link
Collaborator

🎉 Experiment pr-146013 is completed!
📊 1312 regressed and 1466 fixed (691117 total)
📊 2007 spurious results on the retry-regessed-list.txt, consider a retry1 if this is a significant amount.
📰 Open the summary report.

⚠️ If you notice any spurious failure please add them to the denylist!
i️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

Footnotes

  1. re-run the experiment with crates=https://crater-reports.s3.amazonaws.com/pr-146013/retry-regressed-list.txt

@craterbot craterbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-crater Status: Waiting on a crater run to be completed. labels Sep 7, 2025
Copy link
Contributor Author

Jules-Bertholet commented Sep 7, 2025
edited
Loading

I haven't been able to review all the regressions yet. But from the few I spot-checked: most are spurious (filesystem errors), but a few are not. All the real regressions I saw were due to the ManuallyDrop impl. And, upon reflection, that one as well as the AssertUnwindSafe impl seem dubious, so I removed the former and restricted the latter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Labels
I-libs-api-nominated Nominated for discussion during a libs-api team meeting. needs-fcp This change is insta-stable, or significant enough to need a team FCP to proceed. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /