serde/test_suite/tests/ui/duplicate-attribute/with-and-serialize-with.rs
2018-12-31 21:38:13 -05:00

10 lines
136 B
Rust

use serde_derive::Serialize;
#[derive(Serialize)]
struct S {
#[serde(with = "w", serialize_with = "s")]
x: (),
}
fn main() {}