{"ast_node_type":"function","tokens":[{"end":64,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn adt_variants_len(&self, def: AdtDef<'tcx>) -> usize {
    /// The number of variants in this ADT.
        def.variants().len()