serde/test_suite/tests/ui/unexpected-literal/field.rs
2018-12-31 21:38:13 -05:00

10 lines
113 B
Rust

use serde_derive::Serialize;
#[derive(Serialize)]
struct S {
#[serde("literal")]
x: (),
}
fn main() {}