serde/test_suite/tests/ui/rename/variant_unknown_rename_rule.rs
hcpl 14a3da9b16 Improve UI test coverage
With this commit I believe I've covered all `compile_error!`-based
errors.
2018-11-30 03:07:31 +02:00

15 lines
204 B
Rust

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