MCPcopy Create free account
hub / github.com/hashintel/hash / graph_read_terminator

Function graph_read_terminator

libs/@local/hashql/eval/src/postgres/error.rs:289–304  ·  view source on GitHub ↗
(span: SpanId)

Source from the content-addressed store, hash-verified

287
288#[coverage(off)]
289pub(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)]
307pub(super) fn ambiguous_integer_type(span: SpanId, operator: &str) -> EvalDiagnostic {

Callers 1

compile_blocksMethod · 0.85

Calls 3

primaryMethod · 0.80
add_messageMethod · 0.80
categoryFunction · 0.70

Tested by

no test coverage detected