{"ast_node_type":"variable","tokens":[{"end":44,"kind":"keyword","start":0,"text":"if"}]}
            if let Some(variant) = variant {
            format_to!(res.signature, "enum {}", it.name(db).display(db, edition));
                // In paths, generics of an enum can be specified *after* one of its variants.