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

14 lines
193 B
Rust

use serde_derive::Serialize;
#[derive(Serialize)]
enum S {
#[serde(rename_all = "abc")]
V {
name: u8,
long_name: u8,
very_long_name: u8,
},
}
fn main() {}