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

Function missing_island_graph

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

Source from the content-addressed store, hash-verified

325
326#[coverage(off)]
327pub(super) fn missing_island_graph(span: SpanId) -> EvalDiagnostic {
328 let mut diagnostic = Diagnostic::new(
329 category(PostgresDiagnosticCategory::MissingIslandGraph),
330 Severity::Bug,
331 )
332 .primary(Label::new(
333 span,
334 "no island graph found for this filter body",
335 ));
336
337 diagnostic.add_message(Message::note(
338 "the island analysis pass should have produced an island graph for every graph read \
339 filter body; its absence indicates a compiler bug",
340 ));
341
342 diagnostic
343}

Callers 1

Calls 3

primaryMethod · 0.80
add_messageMethod · 0.80
categoryFunction · 0.70

Tested by

no test coverage detected