serde/test_suite/tests/ui/conflict/flatten-tuple-struct.rs
David Tolnay 47e238aa13
Add missing imports in ui tests
There is a new fallback as of nightly-2018-12-29 that makes these emit a
new error unrelated to Serde.
2018-12-29 00:19:29 -05:00

10 lines
168 B
Rust

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