enum BtNode { Node(u32,Box,Box), Leaf(u32), } fn main() { let y = match 10 { Foo::A(value) => value, //~ ERROR generic args in patterns require the turbofish syntax Foo::B => 7, }; }