{"ast_node_type":"other","tokens":[{"end":35,"kind":"keyword","start":0,"text":"if"}]}
        if !ty.references_error() {
    fn endpoint_has_type(&self, err: &mut Diag<'_>, span: Span, ty: Ty<'_>) {
            err.span_label(span, format!("this is of type `{ty}`"));