serde/test_suite/tests/ui/unknown-attribute/variant.rs

11 lines
120 B
Rust
Raw Normal View History

2016-09-28 11:55:54 -05:00
#[macro_use]
extern crate serde_derive;
#[derive(Serialize)]
2016-09-28 11:55:54 -05:00
enum E {
#[serde(abc = "xyz")]
2016-09-28 11:55:54 -05:00
V,
}
fn main() {}