1 error: no rules expected the token `|`
2 --> $DIR/or-patterns-syntactic-fail-2018.rs:14:15
4 LL | macro_rules! accept_pat {
5 | ----------------------- when calling this macro
7 LL | accept_pat!(p | q);
8 | ^ no rules expected this token in macro call
10 error: no rules expected the token `|`
11 --> $DIR/or-patterns-syntactic-fail-2018.rs:15:13
13 LL | macro_rules! accept_pat {
14 | ----------------------- when calling this macro
16 LL | accept_pat!(|p| q);
17 | ^ no rules expected this token in macro call
19 error: aborting due to 2 previous errors