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

Make UnsafeCell, RefCell, Mutex, and RwLock accept DSTs #24737

Merged
merged 1 commit into from
May 3, 2015

Conversation

ftxqxd
Copy link
Contributor

@ftxqxd ftxqxd commented Apr 23, 2015

This + DST coercions (#24619) would allow code like Rc<RefCell<Box<Trait>>> to be simplified to Rc<RefCell<Trait>>.

@rust-highfive
Copy link
Collaborator

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@bstrie
Copy link
Contributor

bstrie commented Apr 23, 2015

Would this be a backward-compatible change? In other words, is it an argument for cherry-picking #24619 into beta?

@steveklabnik
Copy link
Member

It allows strictly more programs, IIRC, and so is backwards compatible.

@nrc
Copy link
Member

nrc commented Apr 24, 2015

Doing Arc would be cool too, if anyone feels like it :-) And no, it shouldn't be cherry picked, too risky.

@luqmana
Copy link
Member

luqmana commented May 1, 2015

@bors r+

@bors
Copy link
Contributor

bors commented May 1, 2015

📌 Commit 17876ec has been approved by luqmana

bors added a commit that referenced this pull request May 1, 2015
This + DST coercions (#24619) would allow code like `Rc<RefCell<Box<Trait>>>` to be simplified to `Rc<RefCell<Trait>>`.
@bors
Copy link
Contributor

bors commented May 1, 2015

⌛ Testing commit 17876ec with merge c22693d...

@bors
Copy link
Contributor

bors commented May 1, 2015

💔 Test failed - auto-mac-64-opt

@ftxqxd
Copy link
Contributor Author

ftxqxd commented May 1, 2015

Sorry, I mustn’t have run the tests thoroughly enough. It should be fixed now. r?

@alexcrichton
Copy link
Member

@bors: r=luqmana aed293a

@bors
Copy link
Contributor

bors commented May 1, 2015

⌛ Testing commit aed293a with merge 4389a3b...

@bors
Copy link
Contributor

bors commented May 1, 2015

💔 Test failed - auto-mac-64-opt

This + DST coercions (rust-lang#24619) would allow code like `Rc<RefCell<Box<Trait>>>` to
be simplified to `Rc<RefCell<Trait>>`.
@ftxqxd
Copy link
Contributor Author

ftxqxd commented May 2, 2015

Ugh, I somehow missed that one. make check definitely passes now.

@alexcrichton
Copy link
Member

@bors: r+ 57d8289

@bors
Copy link
Contributor

bors commented May 2, 2015

⌛ Testing commit 57d8289 with merge c512850...

@bors
Copy link
Contributor

bors commented May 2, 2015

💔 Test failed - auto-linux-64-x-android-t

@ftxqxd
Copy link
Contributor Author

ftxqxd commented May 2, 2015

The failure doesn’t seem related (and doesn’t occur locally). Is this a known spurious failure?

@alexcrichton
Copy link
Member

@bors: retry

On Sat, May 2, 2015 at 1:55 AM, P1start notifications@github.com wrote:

The failure doesn’t seem related (and doesn’t occur locally). Is this a
known spurious failure?


Reply to this email directly or view it on GitHub
#24737 (comment).

@bors
Copy link
Contributor

bors commented May 3, 2015

⌛ Testing commit 57d8289 with merge 1fb4ecc...

@bors
Copy link
Contributor

bors commented May 3, 2015

💔 Test failed - auto-linux-64-opt

@alexcrichton
Copy link
Member

@bors: retry

On Sun, May 3, 2015 at 7:06 AM, bors notifications@github.com wrote:

[image: 💔] Test failed - auto-linux-64-opt
http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4777


Reply to this email directly or view it on GitHub
#24737 (comment).

@bors
Copy link
Contributor

bors commented May 3, 2015

⌛ Testing commit 57d8289 with merge 1a60dc4...

bors added a commit that referenced this pull request May 3, 2015
This + DST coercions (#24619) would allow code like `Rc<RefCell<Box<Trait>>>` to be simplified to `Rc<RefCell<Trait>>`.
@bors bors merged commit 57d8289 into rust-lang:master May 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants