Expand description
Analysis of patterns, notably match exhaustiveness checking.
Modules§
- As explained in
crate::usefulness, values and patterns are made from constructors applied to fields. This file defines aConstructorenum and various operations to manipulate them. - As explained in
crate::usefulness, values and patterns are made from constructors applied to fields. This file defines types that represent patterns in this way. - Match exhaustiveness and redundancy algorithm
Structs§
- An owned contiguous collection of
Ts, indexed byIrather than byusize. - The arm of a match expression.
boolnewtype that indicates whether this is a privately uninhabited field that we should skip during analysis.
Traits§
- Represents some newtyped
usizewrapper. - Context that provides type information about constructors.