mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-31 15:49:48 +00:00
There is a new fallback as of nightly-2018-12-29 that makes these emit a new error unrelated to Serde.
9 lines
266 B
Plaintext
9 lines
266 B
Plaintext
error: #[serde(flatten)] cannot be used on tuple structs
|
|
--> $DIR/flatten-tuple-struct.rs:7:17
|
|
|
|
|
7 | struct Foo(u32, #[serde(flatten)] HashMap<String, String>);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|