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

Function closure_application

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

Source from the content-addressed store, hash-verified

218
219#[coverage(off)]
220pub(super) fn closure_application(span: SpanId) -> EvalDiagnostic {
221 let mut diagnostic = Diagnostic::new(
222 category(PostgresDiagnosticCategory::ClosureApplication),
223 Severity::Bug,
224 )
225 .primary(Label::new(span, "closure call cannot be compiled to SQL"));
226
227 diagnostic.add_message(Message::note(
228 "the statement placement pass should have rejected this from the Postgres backend",
229 ));
230
231 diagnostic
232}
233
234#[coverage(off)]
235pub(super) fn closure_aggregate(span: SpanId) -> EvalDiagnostic {

Callers 1

compile_applyMethod · 0.85

Calls 3

primaryMethod · 0.80
add_messageMethod · 0.80
categoryFunction · 0.70

Tested by

no test coverage detected