You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm one of the Debian rust maintainers, and I'm currently looking at the update of rust-syn to version 2.0 and rust-synstructure to version 0.18.
After bumping the dependency the multihash-derive-impl crate fails to build with
error[E0609]: no field `tokens` on type `&Attribute`
--> src/multihash.rs:100:74
|
100 | let attr: Result<utils::Attrs<MhAttr>, _> = syn::parse2(attr.tokens.clone());
| ^^^^^^ unknown field
|
= note: available fields are: `pound_token`, `style`, `bracket_token`, `meta`
error[E0609]: no field `tokens` on type `&Attribute`
--> src/multihash.rs:141:82
|
141 | let derive_attrs: Result<utils::Attrs<DeriveAttr>, _> = syn::parse2(attr.tokens.clone());
| ^^^^^^ unknown field
|
= note: available fields are: `pound_token`, `style`, `bracket_token`, `meta`
error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> src/utils.rs:25:29
|
25 | let attrs = content.parse_terminated(A::parse)?;
| ^^^^^^^^^^^^^^^^---------- an argument is missing
|
Is there any chance of an update/patch to use the current versions of syn/synstructure?
The text was updated successfully, but these errors were encountered:
`Ident` was added to `utils::Attrs` since `attr.meta.to_token_stream()` now includes it.
`ParseError` was removed since it didn't seem to be used (and tests seemed to passed)
Fixes#362.
Closes#350.
Closes#301.
Hi.
I'm one of the Debian rust maintainers, and I'm currently looking at the update of rust-syn to version 2.0 and rust-synstructure to version 0.18.
After bumping the dependency the multihash-derive-impl crate fails to build with
Is there any chance of an update/patch to use the current versions of syn/synstructure?
The text was updated successfully, but these errors were encountered: