{"ast_node_type":"other","tokens":[{"end":59,"kind":"keyword","start":0,"text":"///"}]}
    /// or variant or their constructors, panics otherwise.
    /// Returns `ty::VariantDef` if `res` refers to a struct,
    pub fn expect_variant_res(self, res: Res) -> &'tcx VariantDef {