syntax_data: {"ast_node_type":"other","tokens":[{"end":21,"kind":"keyword","start":0,"text":"}"}]}
source_snippet:                     }
context_before:                         self.tcx.dcx().emit_err(ConstParamInPattern { span, const_span })
context_after:                     Res::Def(DefKind::Static { .. }, def_id) => {