88 PatternSource::Let => "let binding",
89 PatternSource::For => "for binding",
90▶ PatternSource::FnParam => "function parameter",
91 }
92 }
· · ·
101/// Denotes whether the context for the set of already bound bindings is a `Product`
102/// or `Or` context. This is used in e.g., `fresh_binding` and `resolve_pattern_inner`.
103▶/// See those functions for more information.
104#[derive(PartialEq)]
105enum PatBoundCtx {
· · ·
205 AssocItem,
206
207▶ /// We passed through a function, closure or coroutine signature. Disallow labels.
208 FnOrCoroutine,
209
· · ·
380 Item,
381 ConstItem,
382▶ Function,
383 Closure,
384 ImplBlock,
· · ·
397 ImplAssocType => "associated type",
398 ImplBlock => "impl block",
399▶ Function => "function",
400 Closure => "closure",
401 }
+ 76 more matches in this file