Skip to content

Breakage with recent nightly #125

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

Closed
alexbool opened this issue May 12, 2016 · 5 comments
Closed

Breakage with recent nightly #125

alexbool opened this issue May 12, 2016 · 5 comments

Comments

@alexbool
Copy link

   Compiling itertools v0.4.13
/Users/alexbool/.cargo/registry/src/github.com-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]
/Users/alexbool/.cargo/registry/src/github.com-1ecc6299db9ec823/itertools-0.4.13/src/free.rs:218 pub fn merge<I, J>(i: I, j: J) -> Merge<I::IntoIter, J::IntoIter>
                                                                                                 ^
/Users/alexbool/.cargo/registry/src/github.com-1ecc6299db9ec823/itertools-0.4.13/src/free.rs:218:1: 224:2 help: run `rustc --explain E0271` to see a detailed explanation
/Users/alexbool/.cargo/registry/src/github.com-1ecc6299db9ec823/itertools-0.4.13/src/free.rs:218:1: 224:2 note: required by `adaptors::Merge`
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
error: Could not compile `itertools`.

alexbool@alexbool-osx ~/D/I/i/r/portfolio> rustc -vV
rustc 1.10.0-nightly (22ac88f1a 2016-05-11)
binary: rustc
commit-hash: 22ac88f1a47a82195a49fbff3cf24a2c395d7a81
commit-date: 2016-05-11
host: x86_64-apple-darwin
release: 1.10.0-nightly
@alexbool
Copy link
Author

Whoops, seems like already reported rust-lang/rust#33587

@bluss
Copy link
Member

bluss commented May 12, 2016

Thank you for reporting it here. I don't see a way to work around it without breaking changes, so unsure if I can do anything but hope that it the regression is fixed soon.

@bluss
Copy link
Member

bluss commented May 12, 2016

Workaround in itertools version 0.4.14.

@alexbool
Copy link
Author

Thank you so much!

@bluss
Copy link
Member

bluss commented May 12, 2016

Oops, I managed to remove itertools::free::chain in the workaround. Was a bit too quick. It won't hurt most, but I'll fix that now too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants