{"ast_node_type":"other","tokens":[{"end":13,"kind":"keyword","start":0,"text":"#[inline]"}]}
    #[inline]
    /// Return the index of `VariantDef` given a variant id.
    pub fn variant_index_with_id(self, vid: DefId) -> VariantIdx {