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

10 lines
168 B
Rust
Raw Normal View History

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