Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Syn Breaking Change #7836

Closed
aurexav opened this issue Jan 6, 2021 · 1 comment · Fixed by #7838
Closed

Syn Breaking Change #7836

aurexav opened this issue Jan 6, 2021 · 1 comment · Fixed by #7838
Assignees
Labels
J2-unconfirmed Issue might be valid, but it’s not yet known.

Comments

@aurexav
Copy link
Contributor

aurexav commented Jan 6, 2021

dtolnay/syn@957840e

https://github.com/paritytech/substrate/blob/master/frame/support/procedural/src/storage/parse.rs#L50

Which would cause

error[E0433]: failed to resolve: could not find `export` in `syn`
  --> /home/xavier/.cargo/git/checkouts/substrate-a7fa553ead635512/7314a78/frame/support/procedural/src/storage/parse.rs:50:37
   |
50 | impl<P: syn::export::ToTokens> syn::export::ToTokens for Opt<P> {
   |                                     ^^^^^^ could not find `export` in `syn`

error[E0433]: failed to resolve: could not find `export` in `syn`
  --> /home/xavier/.cargo/git/checkouts/substrate-a7fa553ead635512/7314a78/frame/support/procedural/src/storage/parse.rs:50:14
   |
50 | impl<P: syn::export::ToTokens> syn::export::ToTokens for Opt<P> {
   |              ^^^^^^ could not find `export` in `syn`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0433`.
error: could not compile `frame-support-procedural`

Workaround lock syn to 1.0.57

@github-actions github-actions bot added the J2-unconfirmed Issue might be valid, but it’s not yet known. label Jan 6, 2021
@bkchr bkchr self-assigned this Jan 6, 2021
@VitalJeevanjot
Copy link

I have received this as well while following: https://substrate.dev/docs/en/tutorials/start-a-private-network/keygen
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J2-unconfirmed Issue might be valid, but it’s not yet known.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants