Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum E {
- A,
- B,
- }
- fn main() {
- match E::A {
- E::A |
- E::B | // This pipe or operand shouldn't be here
- if true => {}
- _ => {}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement