1 enum E { 2 Aaa, 3 Bbb(u8, u8), 4 Ccc(u8), 5 Ddd { u: u8 }, 6 } 7 8 #[remain::check] main()9 fn main() { 10 let value = E::Aaa; 11 12 #[sorted] 13 let _ = match value { 14 E::Aaa => {} 15 E::Ccc(_) => {} 16 E::Ddd { u: _ } => {} 17 E::Bbb(_, _) => {} 18 }; 19 } 20