1error: #[serde(flatten)] cannot be used on tuple structs 2 --> tests/ui/conflict/flatten-tuple-struct.rs:6:17 3 | 46 | struct Foo(u32, #[serde(flatten)] HashMap<String, String>); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6