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

nightly breaking slog-1.4 #103

Closed
przygienda opened this issue Jan 18, 2017 · 3 comments
Closed

nightly breaking slog-1.4 #103

przygienda opened this issue Jan 18, 2017 · 3 comments

Comments

@przygienda
Copy link

error[E0178]: expected a path on the left-hand side of +, not (Fn(D::Error) -> E)
--> /Users/prz/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-1.4.0/src/_drain.rs:119:17
|
119 | map_fn: Box<(Fn(D::Error) -> E) + 'static+ Send+Sync>,
| ^^^^^^^^^^^^^^^^^^^ expected a path
|
= help: perhaps you forgot parentheses? (per RFC 438)

looks to me like compiler bug though ...

@dimfeld
Copy link

dimfeld commented Jan 18, 2017

I'm seeing this too with the nightly build from 2017-01-17 (x86_64-apple-darwin). It works fine with 2017-01-12. I haven't tried any builds in between.

@dpc
Copy link
Collaborator

dpc commented Jan 19, 2017

Thanks for reporting it. I escalated: rust-lang/rust#39169

Workaround would be to pin the nighty version to yesterday one with rustup.

@dpc dpc closed this as completed in 5548f91 Jan 19, 2017
@dpc
Copy link
Collaborator

dpc commented Jan 19, 2017

1.4.1 released

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

3 participants