serde/test_suite/tests/ui/conflict/flatten-tuple-struct.rs

8 lines
136 B
Rust
Raw Normal View History

#[macro_use]
extern crate serde_derive;
#[derive(Serialize)]
struct Foo(u32, #[serde(flatten)] HashMap<String, String>);
fn main() {}