mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-30 06:21:26 +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:5:17
|
|
|
|
|
5 | struct Foo(u32, #[serde(flatten)] HashMap<String, String>);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|