serde/test_suite/tests/ui/conflict/flatten-tuple-struct.rs
2018-12-31 21:38:13 -05:00

9 lines
157 B
Rust

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