I'm trying to use orml-tokens in my Substrate project and encountered the following error:
error[E0603]: module `group` is private
--> /home/kianoush/.cargo/registry/src/github.com-1ecc6299db9ec823/frame-support-procedural-tools-3.0.0/src/syn_ext.rs:47:53
|
47 | let syn::group::$name { token, content } = syn::group::$parse(input)?;
| ^^^^^ private module
|
note: the module `group` is defined here
--> /home/kianoush/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.109/src/lib.rs:308:1
|
308 | mod group;
| ^^^^^^^^^
error[E0603]: module `group` is private
--> /home/kianoush/.cargo/registry/src/github.com-1ecc6299db9ec823/frame-support-procedural-tools-3.0.0/src/syn_ext.rs:47:14
|
47 | let syn::group::$name { token, content } = syn::group::$parse(input)?;
| ^^^^^ private module
|
note: the module `group` is defined here
--> /home/kianoush/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.109/src/lib.rs:308:1
|
308 | mod group;
| ^^^^^^^^^
I'm using frame-support-procedural-tools v3.0.0 How can I resolve this issue? Are there any workarounds or specific dependency versions I should use to avoid this error?
Using rustc version: rustc 1.68.0-nightly (574b64a97 2022-12-31)