serde/test_suite/tests/ui/identifier/field_tuple.rs

11 lines
129 B
Rust
Raw Normal View History

2018-12-31 20:36:59 -06:00
use serde_derive::Deserialize;
#[derive(Deserialize)]
#[serde(field_identifier)]
enum F {
A,
2018-06-02 23:11:42 -05:00
B(u8, u8),
}
fn main() {}