syntax_data: {"ast_node_type":"other","tokens":[{"end":97,"kind":"keyword","start":0,"text":"format!(\"found"}]}
source_snippet:                 format!("found bad range pattern endpoint `{expr:?}` outside of error recovery");
context_before:             let msg =
context_after:             return Err(self.tcx.dcx().span_delayed_bug(expr.span, msg));