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

Enums

GateOr

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

OrPatNonterminalMode

Used when parsing a non-terminal (see parse_nonterminal) to determine if :pat should match top_pat or pat<no_top_alt>. See issue https://github.com/rust-lang/rust/pull/78935.

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