mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 20:38:02 +00:00
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.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
#[derive(Serialize)]
|
||||
struct Foo(u32, #[serde(flatten)] HashMap<String, String>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user