serde/test_suite/tests/ui/malformed/rename.rs
2018-12-31 21:38:13 -05:00

10 lines
119 B
Rust

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