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

9 lines
157 B
Rust
Raw Normal View History

2018-12-31 20:36:59 -06:00
use serde_derive::Serialize;
use std::collections::HashMap;
#[derive(Serialize)]
struct Foo(u32, #[serde(flatten)] HashMap<String, String>);
fn main() {}