enum BtNode { Node(u32,Box,Box), Leaf(u32), } fn main() { let y = match 10 { Foo::A(value) => value, //~ error: expected one of `=>`, `@`, `if`, or `|`, found `<` Foo::B => 7, }; }