Module rustc_parse::parser::pat
source · Enums
- Whether or not to recover a
a, b
when parsing patterns as(a, b)
or that anda | b
. - The result of
eat_or_separator
. We want to distinguish which case we are in to avoid emitting duplicate diagnostics. - The syntax location of a given pattern. Used for diagnostics.
- Whether or not to recover a
:
when parsing patterns that were meant to be paths. - Whether or not to recover a
,
when parsing or-patterns.