Uh oh!
There was an error while loading. Please reload this page.
Remove IteratorExt - #23300
Conversation
rust-highfive
commented
Mar 12, 2015
(rust_highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
I think that functions like this which can relax the Self: Sized bound are ok to. In theory an iterator could override this method to provide a specialized implementation.
alexcrichton
commented
Mar 12, 2015
I'm ok merging this as-is basically (nit or not), so r=me once the ICE is fixed |
bors
commented
Mar 16, 2015
☔ The latest upstream changes (presumably #23342) made this pull request unmergeable. Please resolve the merge conflicts. |
nikomatsakis
commented
Mar 17, 2015
@sfackler I'm investigating ICE now... |
nikomatsakis
commented
Mar 17, 2015
OK, I... sort of understand the ICE. The problem is constructing the vtable for an |
nikomatsakis
commented
Mar 17, 2015
see #23435 for a smaller example and explanation of the ICE |
nikomatsakis
commented
Mar 17, 2015
#23438 should fix the ICE |
sfackler
commented
Mar 17, 2015
Awesome, thanks Niko! |
sfackler
commented
Mar 18, 2015
Rebased over @nikomatsakis's fix, but it looks like we're still running into a very similar crash: https://gist.github.com/sfackler/6bf9e4140c1890553528 |
sfackler
commented
Mar 18, 2015
Backtrace: |
nikomatsakis
commented
Mar 18, 2015
@sfackler hmm! I'll check it out again... |
nikomatsakis
commented
Mar 18, 2015
@sfackler ok I have a fix for the ICE now, but I don't have a good standalone test case yet. The problem seems to arise because I was previously trying to normalize first, when normalization itself can encounter errors. |
bors
commented
Mar 19, 2015
☔ The latest upstream changes (presumably #23482) made this pull request unmergeable. Please resolve the merge conflicts. |
sfackler
commented
Mar 20, 2015
This works rebased on top of #23486 so it should be good to go once that merges. |
There was a problem hiding this comment.
Can you make this where Self: Sized + DoubleEndedIterator in order to fix #23587?
sfackler
commented
Mar 28, 2015
@bors r=alexcrichton 11f5ac6 |
bors
commented
Mar 28, 2015
⌛ Testing commit 11f5ac6 with merge 2f4bad9... |
bors
commented
Mar 28, 2015
💔 Test failed - auto-win-64-nopt-t |
All methods are inlined into Iterator with `Self: Sized` bounds to make sure Iterator is still object safe. [breaking-change]
sfackler
commented
Mar 28, 2015
bors
commented
Mar 28, 2015
All methods are inlined into Iterator with `Self: Sized` bounds to make sure Iterator is still object safe. [breaking-change] This is blocked on ICEs: https://gist.github.com/sfackler/5aff7c57cf8d896e2c6f Seem to be similar to #23281.
All methods are inlined into Iterator with
Self: Sizedbounds to makesure Iterator is still object safe.
[breaking-change]
This is blocked on ICEs: https://gist.github.com/sfackler/5aff7c57cf8d896e2c6f
Seem to be similar to #23281.