pub fn compute_pattern_semantic<'db>(
ctx: &mut ComputationContext<'db, '_>,
syntax: &Pattern<'db>,
ty: TypeId<'db>,
or_pattern_variables_map: &UnorderedHashMap<SmolStrId<'db>, LocalVariable<'db>>,
) -> PatternAndId<'db>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.