pub fn compute_pattern_semantic(
    ctx: &mut ComputationContext<'_>,
    syntax: &Pattern,
    ty: TypeId
) -> PatternAndId
Expand description

Computes the semantic model of a pattern. Note that this pattern will always be “registered” in the arena, so it can be looked up in the language server.