syn
syn copied to clipboard
`syn::Arm` parses but `syn::Pat` does not with the "same" input
It's possible to parse "lit 1" | "lit 2" => todo!() into syn::Arm, but parsing "lit 1" | "lit 2" into syn::Pat fails with unexpected token.