{"ast_node_type":"variable","tokens":[{"end":58,"kind":"keyword","start":0,"text":"let"}]}
    let ty = ctx.sema.type_of_binding_in_pat(&ident_pat)?;
fn collect_data(ident_pat: ast::IdentPat, ctx: &AssistContext<'_>) -> Option<StructEditData> {
    let hir::Adt::Struct(struct_type) = ty.strip_references().as_adt()? else { return None };