Skip to content
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

fix Box::into_unique #78446

Merged
merged 1 commit into from
Oct 29, 2020
Merged

fix Box::into_unique #78446

merged 1 commit into from
Oct 29, 2020

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Oct 27, 2020

#77187 broke Stacked Borrows pointer tagging around Box::into_unique (this is caused by Box being a special case in the type system, which box-internal code needs to account for). This PR fixes that.

r? @Amanieu Cc @TimDiekmann

Fixes #78419.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 27, 2020
@TimDiekmann
Copy link
Member

Thanks for fixing this! :)

@Amanieu
Copy link
Member

Amanieu commented Oct 29, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Oct 29, 2020

📌 Commit ab374dc has been approved by Amanieu

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 29, 2020
@RalfJung
Copy link
Member Author

@bors p=1
(needed to fix a tool)

@bors
Copy link
Contributor

bors commented Oct 29, 2020

⌛ Testing commit ab374dc with merge 167f68bf6cc4934c4a5085e829ae26a63410581b...

@bors
Copy link
Contributor

bors commented Oct 29, 2020

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 29, 2020
@RalfJung
Copy link
Member Author

error: failed to download from https://crates.io/api/v1/crates/autocfg/1.0.1/download

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 29, 2020
@RalfJung
Copy link
Member Author

@pietroalbini is there an issue tracking these crates.io download failures? They seem to happen more often than one would hope.

@pietroalbini
Copy link
Member

@bors
Copy link
Contributor

bors commented Oct 29, 2020

⌛ Testing commit ab374dc with merge a53fb30...

@bors
Copy link
Contributor

bors commented Oct 29, 2020

☀️ Test successful - checks-actions
Approved by: Amanieu
Pushing a53fb30 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Oct 29, 2020
@bors bors merged commit a53fb30 into rust-lang:master Oct 29, 2020
@rustbot rustbot added this to the 1.49.0 milestone Oct 29, 2020
@RalfJung RalfJung deleted the box branch October 30, 2020 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

miri no longer builds after rust-lang/rust#77187
7 participants