serde/test_suite/tests/ui/rename/container_unknown_rename_rule.rs

12 lines
164 B
Rust
Raw Normal View History

2018-12-31 20:36:59 -06:00
use serde_derive::Serialize;
#[derive(Serialize)]
#[serde(rename_all = "abc")]
struct S {
name: u8,
long_name: u8,
very_long_name: u8,
}
fn main() {}