diff options
| author | bors <bors@rust-lang.org> | 2017-11-19 12:20:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-11-19 12:20:14 +0000 |
| commit | d8d5b6180f56e4aaddc9492b891f85f9ca4a3c64 (patch) | |
| tree | ffb91f6acf1629c7a7f3f49fda5af960260b9fc7 /src/rustllvm/PassWrapper.cpp | |
| parent | c5c70ef72369b00870d9fc67b99853b0681e17e2 (diff) | |
| parent | cef45b3baf3593401657f9f40c7c9b08b57a251f (diff) | |
| download | rust-d8d5b6180f56e4aaddc9492b891f85f9ca4a3c64.tar.gz rust-d8d5b6180f56e4aaddc9492b891f85f9ca4a3c64.zip | |
Auto merge of #46074 - scottmcm:unspecialize-nth, r=bluss
Undo the Sized specialization from Iterator::nth I just added this as part of https://github.com/rust-lang/rust/pull/45595, but I'm now afraid there's a specialization issue with it, since I tried to add [another similar specialization](https://github.com/rust-lang/rust/compare/master...scottmcm:faster-iter-by-ref?expand=1#diff-1398f322bc563592215b583e9b0ba936R2390), and ended up getting really disturbing test failures like ``` thread 'iter::test_by_ref_folds' panicked at 'assertion failed: `(left == right)` left: `15`, right: `15`', src\libcore\../libcore/tests\iter.rs:1720:4 ``` So since this wasn't the most critical part of the change and a new beta is branching within a week, I think putting this part back to what it was before is the best option.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
