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 upAdd an impl for Box<Error> from String. #30509
Conversation
rust-highfive
assigned
alexcrichton
Dec 21, 2015
This comment has been minimized.
This comment has been minimized.
|
(rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
sfackler
reviewed
Dec 22, 2015
| @@ -119,6 +119,15 @@ impl From<String> for Box<Error + Send + Sync> { | |||
| } | |||
| } | |||
|
|
|||
| #[unstable(feature = "string_box_error", reason = "recently added", issue = "30156")] | |||
This comment has been minimized.
This comment has been minimized.
sfackler
Dec 22, 2015
Member
Implementations aren't checked for stability so this should really be flagged stable.
This comment has been minimized.
This comment has been minimized.
michaelsproul
Dec 22, 2015
Author
Contributor
I was wondering about that. I'll amend the commit and do a push.
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton this seems to have stalled (no acknowledgement from @bors), and the r+ needs to be on the new commit. It's holidays though so take it easy! |
This comment has been minimized.
This comment has been minimized.
|
Is there a reason why there is no similar implementation for |
This comment has been minimized.
This comment has been minimized.
|
@michaelsproul oh if the commit is updated it needs a new r+ As @netvl says actually, could you add an impl for |
This comment has been minimized.
This comment has been minimized.
|
Will fix it up soon. |
This comment has been minimized.
This comment has been minimized.
|
Updated! I really like the |
This comment has been minimized.
This comment has been minimized.
|
cc @rust-lang/libs, just a heads up, seems easy though as we have |
bors
added a commit
that referenced
this pull request
Jan 13, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
merged commit c1e527f
into
rust-lang:master
Jan 13, 2016
brson
added
the
beta-nominated
label
Jan 16, 2016
This comment has been minimized.
This comment has been minimized.
|
bhsausabsha on IRC asked for a backport |
diwic
referenced this pull request
Jan 19, 2016
Closed
Box::from(&str) -> Box<Error> regression #30634
This comment has been minimized.
This comment has been minimized.
|
backporting would solve this beta regression IIUC #30634 |
brson
added
the
beta-accepted
label
Jan 19, 2016
This comment has been minimized.
This comment has been minimized.
|
Per @nikomatsakis accepted for backport. This fixes another regression. |
michaelsproul commentedDec 21, 2015
Closes #30156.