2015-11-03 16:14:37 -06:00
|
|
|
// rustfmt-enum_trailing_comma: false
|
|
|
|
|
|
|
|
enum X {
|
|
|
|
A,
|
|
|
|
B
|
|
|
|
}
|
|
|
|
|
|
|
|
enum Y {
|
|
|
|
A,
|
|
|
|
B
|
|
|
|
}
|
|
|
|
|
|
|
|
enum TupX {
|
|
|
|
A(u32),
|
|
|
|
B(i32, u16)
|
|
|
|
}
|
|
|
|
|
|
|
|
enum TupY {
|
|
|
|
A(u32),
|
|
|
|
B(i32, u16)
|
|
|
|
}
|
|
|
|
|
|
|
|
enum StructX {
|
2016-05-18 15:38:49 -05:00
|
|
|
A { s: u16 },
|
|
|
|
B { u: u32, i: i32 }
|
2015-11-03 16:14:37 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
enum StructY {
|
2016-05-18 15:38:49 -05:00
|
|
|
A { s: u16 },
|
|
|
|
B { u: u32, i: i32 }
|
2015-11-03 16:14:37 -06:00
|
|
|
}
|