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

Build broken on latest Rust nightly (27901849e 2015-03-25) #25

Closed
hawkw opened this issue Mar 27, 2015 · 3 comments
Closed

Build broken on latest Rust nightly (27901849e 2015-03-25) #25

hawkw opened this issue Mar 27, 2015 · 3 comments

Comments

@hawkw
Copy link
Contributor

hawkw commented Mar 27, 2015

/home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/parser-combinators-0.2.4/src/combinator.rs:156:36: 156:37 error: unable to infer enough type information about `_`; type annotations required [E0282]
/home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/parser-combinators-0.2.4/src/combinator.rs:156     NotFollowedBy(try(parser).then(f as fn (_) -> _)
                                                                                                                                               ^
error: aborting due to previous error
Build failed, waiting for other jobs to finish...

See here for the whole build. I don't think this one's my fault.

@Marwes
Copy link
Owner

Marwes commented Mar 27, 2015

Seems to be a regression (possibly intentional?) in how rust infers casts using as. Seems that adding type annotations instead should make it compile but I will investigate some more before uploading a fix, just in case it is an unintentional regression

@hawkw
Copy link
Contributor Author

hawkw commented Mar 27, 2015

Great, thanks for checking it out.

@Marwes
Copy link
Owner

Marwes commented Mar 27, 2015

Fixed with 3a75699. Seems to be this issue in rustc rust-lang/rust#23699

@Marwes Marwes closed this as completed Mar 27, 2015
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