(span: SpanId)
| 287 | |
| 288 | #[coverage(off)] |
| 289 | pub(super) fn graph_read_terminator(span: SpanId) -> EvalDiagnostic { |
| 290 | let mut diagnostic = Diagnostic::new( |
| 291 | category(PostgresDiagnosticCategory::GraphReadTerminator), |
| 292 | Severity::Bug, |
| 293 | ) |
| 294 | .primary(Label::new( |
| 295 | span, |
| 296 | "nested graph read cannot appear in SQL-compiled code", |
| 297 | )); |
| 298 | |
| 299 | diagnostic.add_message(Message::note( |
| 300 | "the statement placement pass should have rejected this from the Postgres backend", |
| 301 | )); |
| 302 | |
| 303 | diagnostic |
| 304 | } |
| 305 | |
| 306 | #[coverage(off)] |
| 307 | pub(super) fn ambiguous_integer_type(span: SpanId, operator: &str) -> EvalDiagnostic { |
no test coverage detected