1 // In this regression test we check that a trailing `|` in an or-pattern just
2 // before the `if` token of a `match` guard will receive parser recovery with
3 // an appropriate error message.
10 E::B | //~ ERROR a trailing `|` is not allowed in an or-pattern
12 let recovery_witness: bool = 0; //~ ERROR mismatched types