[−][src]Module rustc_mir_build::thir::pattern

Validation of patterns/matches.

Modules

_match

Note: tests specific to this file can be found in: - ui/pattern/usefulness - ui/or-patterns - ui/consts/const_in_pattern - ui/rfc-2008-non-exhaustive - probably many others I (Nadrieril) prefer to put new tests in ui/pattern/usefulness unless there's a specific reason not to, for example if they depend on a particular feature like or_patterns.

check_match
const_to_pat

Structs

Ascription
FieldPat
Pat
PatCtxt
PatRange
PatTyProj

Enums

BindingMode
PatKind
PatternError

Traits

PatternFoldable
PatternFolder

Functions

compare_const_vals