{"ast_node_type":"function","tokens":[{"end":71,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn enum_variants(self, db: &dyn DefDatabase) -> &EnumVariants {
    #[inline]
        &self.enum_variants_with_diagnostics(db).0