{"ast_node_type":"function","tokens":[{"end":68,"kind":"keyword","start":0,"text":"fn"}]}
    fn ban_illegal_rest_pat(&self, sp: Span) -> hir::PatKind<'hir> {
    /// Used to ban the `..` pattern in places it shouldn't be semantically.
        self.dcx().emit_err(MisplacedDoubleDot { span: sp });