Closed
Description
Looks like something that landed in the commit range 0b680cf...d4e1565 broke building serde:
error[E0433]: failed to resolve: unresolved import
--> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.94/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
--> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.94/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)
I would try to reproduce locally but rustup-toolchain-install-master
takes many hours to download rustc+libstd currently. (This bug is not yet on nightly, just in master.)
Here's a prior succeeding build for reference.