Module rustc_parse::parser::pat[−][src]

Enums

EatOrResult

The result of eat_or_separator. We want to distinguish which case we are in to avoid emitting duplicate diagnostics.

GateOr

Whether or not an or-pattern should be gated when occurring in the current context.

RecoverComma

Whether or not to recover a , when parsing or-patterns.

Constants

PARAM_EXPECTED

Expected for function and lambda parameter patterns.

WHILE_PARSING_OR_MSG

Type Definitions

Expected