mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-02 23:35:26 +00:00
6 lines
226 B
Plaintext
6 lines
226 B
Plaintext
error: #[serde(flatten)] cannot be used on tuple structs
|
|
--> $DIR/flatten-tuple-struct.rs:6:17
|
|
|
|
|
6 | struct Foo(u32, #[serde(flatten)] HashMap<String, String>);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|