{"ast_node_type":"variable","tokens":[{"end":50,"kind":"keyword","start":0,"text":"if"}]}
            if let &[variant] = &*x.variants(db) {
        Some(hir::Adt::Enum(x)) => {
                if variant.kind(db) == hir::StructKind::Unit {