Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upDST coercions #24619
Conversation
rust-highfive
assigned
nikomatsakis
Apr 20, 2015
This comment has been minimized.
This comment has been minimized.
|
Should this be cherry-picked into 1.0? |
This comment has been minimized.
This comment has been minimized.
|
@brson I think no: it is a feature, not a fix, and it is large and thus potentially dangerous bug-wise. I think it is fine to wait an extra 6 weeks for. |
This comment has been minimized.
This comment has been minimized.
Hmm, not 3 weeks from now? |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
This is awesome to see! I agree that it may be too late into the cycle to accept something this major into 1.0, but just for the heck of it do we know of any stdlib APIs that require unnecessarily-boxed trait objects that would benefit from this change? |
P1start
added a commit
to P1start/rust
that referenced
this pull request
Apr 23, 2015
P1start
referenced this pull request
Apr 23, 2015
Merged
Make `UnsafeCell`, `RefCell`, `Mutex`, and `RwLock` accept DSTs #24737
bors
added a commit
that referenced
this pull request
May 1, 2015
P1start
added a commit
to P1start/rust
that referenced
this pull request
May 1, 2015
This comment has been minimized.
This comment has been minimized.
|
@nrc sorry for the delay. I'm going to try and finish this review today. I've been wanting to dig specifically into the question of higher-ranked bounds and the use of |
bors
added a commit
that referenced
this pull request
May 1, 2015
P1start
added a commit
to P1start/rust
that referenced
this pull request
May 2, 2015
bors
added a commit
that referenced
this pull request
May 2, 2015
bors
added a commit
that referenced
this pull request
May 3, 2015
bors
added a commit
that referenced
this pull request
May 3, 2015
This comment has been minimized.
This comment has been minimized.
|
How does this impact stable APIs? Is there any way we can merge it and let mature and not insta-stabilize? |
nrc
added some commits
Apr 14, 2015
nrc
force-pushed the
nrc:rc-coerce
branch
from
89dd48c
to
31bb4ab
May 13, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
May 13, 2015
This comment has been minimized.
This comment has been minimized.
|
|
nrc
force-pushed the
nrc:rc-coerce
branch
from
4446d44
to
b799cd8
May 13, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
May 13, 2015
This comment has been minimized.
This comment has been minimized.
|
|
nrc commentedApr 20, 2015
r? @nikomatsakis (note a few TODOs left in the code where I wasn't sure about stuff).