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 upBox::from(&str) -> Box<Error> regression #30634
Comments
bluss
added
the
regression-from-stable-to-beta
label
Dec 30, 2015
This comment has been minimized.
This comment has been minimized.
|
cc @brson If the result type is |
This comment has been minimized.
This comment has been minimized.
|
Is #29580 related? |
This comment has been minimized.
This comment has been minimized.
|
Side note - I discovered this when running |
This comment has been minimized.
This comment has been minimized.
|
This has bit me. Crater had to be modified to not try to box strings as errors. |
This comment has been minimized.
This comment has been minimized.
|
@bluss That suggests that there's some bad interplay between the coercion that would throw away the extra constraints and the dispatch for |
brson
self-assigned this
Jan 6, 2016
This comment has been minimized.
This comment has been minimized.
|
I'll try to bisect. |
This comment has been minimized.
This comment has been minimized.
Yes. |
This comment has been minimized.
This comment has been minimized.
|
So this is working as intended, right? @bluss why doesn't one need to write the type with the lifetime in |
This comment has been minimized.
This comment has been minimized.
|
Yep, |
This comment has been minimized.
This comment has been minimized.
|
I started bisecting last week to find the patch that made this change, but it's slow going. |
This comment has been minimized.
This comment has been minimized.
|
Might be solved by #30509 ? |
This comment has been minimized.
This comment has been minimized.
|
Yes, it compiles on nightly now. The regression to beta still remains. |
brson
added
beta-nominated
and removed
beta-nominated
labels
Jan 19, 2016
This comment has been minimized.
This comment has been minimized.
|
This has been ported to beta. Closing. |
diwic commentedDec 30, 2015
The following code compiles fine on the stable channel but fails on the beta and nigthly channels:
The error message is: