-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
nightly rustc breaks stable code for some type inferences #26279
Comments
triage: I-nominated |
There's a tag on PR #25989 already too. |
triage: P-high |
Gave P-high because this is a regression. |
It's deliberate, due to new Extend impls in libstd, on for example Vec. |
@bluss I'm out of the std loop could you elaborate? |
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: |
I'm going to close this issue, since we've decided that the breakage due to |
nightly (breaking) : http://is.gd/5Pl8DA
stable (compiles) : http://is.gd/ZLTyOv
The text was updated successfully, but these errors were encountered: