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
error: expected one of `{`, lifetime, or type, found `,`
--> src/util_types/mmr/mmr_accumulator.rs:30:23
|
30 | #[derive(BFieldCodec, TasmObject)]
| ^^^^^^^^^^ expected one of `{`, lifetime, or type
|
= note: this error originates in the derive macro `TasmObject` (in Nightly builds, run with -Z macro-backtrace for more info)
error: proc-macro derive produced unparsable tokens
--> src/util_types/mmr/mmr_accumulator.rs:30:23
|
30 | #[derive(BFieldCodec, TasmObject)]
| ^^^^^^^^^^
Variations that build
case: where clause, trailing comma, no TasmObject derive
TasmObject derive macro output fails to build when the target struct has a trailing comma in a where clause.
Does not build:
case: where clause, trailing comma, TasmObject derive
Error:
Variations that build
case: where clause, trailing comma, no TasmObject derive
case: no where clause, no trailing comma, TasmObject derive
case: no where clause, trailing comma, TasmObject derive
case: where clause, no trailing comma, TasmObject derive
The text was updated successfully, but these errors were encountered: