mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-27 13:00:49 +00:00
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>);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|