syntax_data: {"ast_node_type":"variable","tokens":[{"end":49,"kind":"keyword","start":0,"text":"}"}]}
source_snippet:             } else if let DefKind::Variant = kind
context_before:                 self.write_str("::")?;
context_after:                 && let Some(parent) = self.tcx().opt_parent(def_id)