Skip to content
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

Regression in itertools #33587

Closed
brson opened this issue May 12, 2016 · 3 comments
Closed

Regression in itertools #33587

brson opened this issue May 12, 2016 · 3 comments
Labels
regression-from-stable-to-nightly Performance or correctness regression from stable to nightly.

Comments

@brson
Copy link
Contributor

brson commented May 12, 2016

141 brian@ip-10-234-25-118:~/dev/rustup.rs⟫ cargo build
   Compiling pipeline v0.5.0
   Compiling winapi-build v0.1.1
   Compiling winapi v0.2.7
   Compiling unicode-normalization v0.1.2
   Compiling utf8-ranges v0.1.3
   Compiling unicode-width v0.1.3
   Compiling regex-syntax v0.3.1
   Compiling rustup-dist v0.1.11 (file:///mnt/dev/rustup.rs/src/rustup-dist)
   Compiling strsim v0.4.1
   Compiling gcc v0.3.28
   Compiling itertools v0.4.13
   Compiling rustc-serialize v0.3.19
/home/brian/.cargo/registry/src/jackfan.us.kg-1ecc6299db9ec823/itertools-0.4.13/src/free.rs:218:1: 224:2 error: type mismatch resolving `<<J as std::iter::IntoIterator>::IntoIter as std::iter::Iterator>::Item == <I as std::iter::IntoIterator>::Item`:
 expected type parameter,
    found associated type [E0271]
/home/brian/.cargo/registry/src/jackfan.us.kg-1ecc6299db9ec823/itertools-0.4.13/src/free.rs:218 pub fn merge<I, J>(i: I, j: J) -> Merge<I::IntoIter, J::IntoIter>
                                                                                             ^
/home/brian/.cargo/registry/src/jackfan.us.kg-1ecc6299db9ec823/itertools-0.4.13/src/free.rs:218:1: 224:2 help: run `rustc --explain E0271` to see a detailed explanation
/home/brian/.cargo/registry/src/jackfan.us.kg-1ecc6299db9ec823/itertools-0.4.13/src/free.rs:218:1: 224:2 note: required by `adaptors::Merge`
@brson brson added the regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. label May 12, 2016
@nikomatsakis
Copy link
Contributor

probably dup of #33586

@bluss
Copy link
Member

bluss commented May 12, 2016

Fwiw, itertools 0.4.14 has been released which has a workaround, so it compiles without any functional change.Workaround is to use the full <I as IntoIterator>::IntoIter syntax.

@bluss
Copy link
Member

bluss commented May 12, 2016

Closing as duplicate of #33586. Itertools itself has released a workaround too.

@bluss bluss closed this as completed May 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-nightly Performance or correctness regression from stable to nightly.
Projects
None yet
Development

No branches or pull requests

3 participants