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

serde_derive's build is failing on nightly #1570

Closed
viniciusd opened this issue Jul 11, 2019 · 1 comment
Closed

serde_derive's build is failing on nightly #1570

viniciusd opened this issue Jul 11, 2019 · 1 comment

Comments

@viniciusd
Copy link

viniciusd commented Jul 11, 2019

With the latest nightly build (nightly-2019-07-11), serde is not building anymore.
It does build with yesterday's (nightly-2019-07-10).

It seems to be some change at the syn's Token trait location. I am giving it a look, but I am a beginner here.

Example:

error[E0433]: failed to resolve: unresolved import
   --> serde_derive/src/internals/ast.rs:142:44
    |
142 |     variants: &'a Punctuated<syn::Variant, Token![,]>,
    |                                            ^^^^^^^^^
    |                                            |
    |                                            unresolved import
    |                                            help: a similar path exists: `syn::token`
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0433]: failed to resolve: unresolved import
   --> serde_derive/src/internals/ast.rs:187:40
    |
187 |     fields: &'a Punctuated<syn::Field, Token![,]>,
    |                                        ^^^^^^^^^
    |                                        |
    |                                        unresolved import
    |                                        help: a similar path exists: `syn::token`
    |
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
@viniciusd viniciusd changed the title Build is failing on nightly serde_derive's build is failing on nightly Jul 11, 2019
@dtolnay
Copy link
Member

dtolnay commented Jul 11, 2019

This is a compiler bug: rust-lang/rust#62562. Please use an older compiler for now.

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

No branches or pull requests

2 participants