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
Compiling playground v0.0.1 (/playground)
error: proc-macro derive panicked
--> src/lib.rs:30:10
|
30 |#[derive(Deserialize)]| ^^^^^^^^^^^
|
= help: message: assertion failed: !cattrs.has_flatten()
error: aborting due to previous error
error: could not compile `playground`.
To learn more, run the command again with --verbose.
Each variant individually and Serialize derive works well, problem is only in combination of tuple variant and struct variant, when struct variant contains flattened field.