{"ast_node_type":"function","tokens":[{"end":94,"kind":"keyword","start":0,"text":"fn"}]}
fn collect_data(ident_pat: ast::IdentPat, ctx: &AssistContext<'_>) -> Option<StructEditData> {
    let ty = ctx.sema.type_of_binding_in_pat(&ident_pat)?;