9 lines
266 B
Plaintext
9 lines
266 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>);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|