47e238aa13
There is a new fallback as of nightly-2018-12-29 that makes these emit a new error unrelated to Serde.
10 lines
168 B
Rust
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() {}
|