pub(super) fn struct_rest_pat(
sema: &Semantics<'_, RootDatabase>,
_config: &HoverConfig<'_>,
pattern: &RecordPat,
edition: Edition,
display_target: DisplayTarget,
) -> HoverResultExpand description
Returns missing types in a record pattern.
Only makes sense when there’s a rest pattern in the record pattern.
i.e. let S {a, ..} = S {a: 1, b: 2}