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

Validation of patterns/matches.

Modules

check_match
const_to_pat
deconstruct_pat

This module provides functions to deconstruct and reconstruct patterns into a constructor applied to some fields. This is used by the _match module to compute pattern usefulness/exhaustiveness.

usefulness

Note: tests specific to this file can be found in:

Structs

Ascription
FieldPat
Pat
PatCtxt
PatRange
PatTyProj

Enums

BindingMode
PatKind
PatternError

Traits

PatternFoldable
PatternFolder

Functions

compare_const_vals