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 upnightly rustc breaks stable code for some type inferences #26279
Comments
bombless
changed the title
nightly rustc breaks stable code for some type inference
nightly rustc breaks stable code for some type inferences
Jun 13, 2015
This comment has been minimized.
This comment has been minimized.
|
triage: I-nominated |
rust-highfive
added
the
I-nominated
label
Jun 14, 2015
alexcrichton
added
the
T-lang
label
Jun 14, 2015
This comment has been minimized.
This comment has been minimized.
|
There's a tag on PR #25989 already too. |
nikomatsakis
added
the
regression-from-stable-to-nightly
label
Jun 17, 2015
This comment has been minimized.
This comment has been minimized.
|
triage: P-high |
rust-highfive
added
P-high
and removed
I-nominated
labels
Jun 17, 2015
This comment has been minimized.
This comment has been minimized.
|
Gave P-high because this is a regression. |
This comment has been minimized.
This comment has been minimized.
|
It's deliberate, due to new Extend impls in libstd, on for example Vec. |
This comment has been minimized.
This comment has been minimized.
|
@bluss I'm out of the std loop could you elaborate? |
This comment has been minimized.
This comment has been minimized.
|
Sure, Now, I said it was deliberate because we knew that this issue would exist, a new trait impl would make some code ambiguous. It is called minor change (but breaking change) in the rust policy on stability, and hence permitted. (RFC: Policy on semver and API evolution) One convenient workaround is to just use the explict form: |
This comment has been minimized.
This comment has been minimized.
|
I'm going to close this issue, since we've decided that the breakage due to |
bombless commentedJun 13, 2015
nightly (breaking) : http://is.gd/5Pl8DA
stable (compiles) : http://is.gd/ZLTyOv