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

13 lines
152 B
Rust
Raw Normal View History

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