{"ast_node_type":"function","tokens":[{"end":81,"kind":"keyword","start":0,"text":"pub(crate)"}]}
    pub(crate) fn ban_extra_rest_pat(&self, sp: Span, prev_sp: Span, ctx: &str) {
    /// Emit a friendly error for extra `..` patterns in a tuple/tuple struct/slice pattern.
        self.dcx().emit_err(ExtraDoubleDot { span: sp, prev_span: prev_sp, ctx });