mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 10:38:02 +00:00
bbba632ab3
This reverts commit e77db40b8d.
6 lines
239 B
Plaintext
6 lines
239 B
Plaintext
error: #[serde(flatten)] cannot be used on tuple structs
|
|
--> tests/ui/conflict/flatten-tuple-struct.rs:6:17
|
|
|
|
|
6 | struct Foo(u32, #[serde(flatten)] HashMap<String, String>);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|