Enum rustc_resolve::late::PatBoundCtx [−][src]
enum PatBoundCtx {
Product,
Or,
}Expand description
Denotes whether the context for the set of already bound bindings is a Product
or Or context. This is used in e.g., fresh_binding and resolve_pattern_inner.
See those functions for more information.
Variants
Expand description
A product pattern context, e.g., Variant(a, b).
Expand description
An or-pattern context, e.g., p_0 | ... | p_n.
Trait Implementations
impl PartialEq<PatBoundCtx> for PatBoundCtx[src]
impl PartialEq<PatBoundCtx> for PatBoundCtx[src]