serde/test_suite/tests/ui/enum-representation/internal-tuple-variant.rs

10 lines
118 B
Rust
Raw Normal View History

2018-12-31 21:36:59 -05:00
use serde_derive::Serialize;
2017-02-02 12:10:07 -08:00
#[derive(Serialize)]
2018-06-02 21:11:42 -07:00
#[serde(tag = "type")]
2017-02-02 12:10:07 -08:00
enum E {
Tuple(u8, u8),
}
fn main() {}