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

Function closure_aggregate

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

Source from the content-addressed store, hash-verified

233
234#[coverage(off)]
235pub(super) fn closure_aggregate(span: SpanId) -> EvalDiagnostic {
236 let mut diagnostic = Diagnostic::new(
237 category(PostgresDiagnosticCategory::ClosureAggregate),
238 Severity::Bug,
239 )
240 .primary(Label::new(
241 span,
242 "closure construction cannot be compiled to SQL",
243 ));
244
245 diagnostic.add_message(Message::note(
246 "the statement placement pass should have rejected this from the Postgres backend",
247 ));
248
249 diagnostic
250}
251
252#[coverage(off)]
253pub(super) fn function_pointer_constant(span: SpanId) -> EvalDiagnostic {

Callers 1

compile_aggregateMethod · 0.85

Calls 3

primaryMethod · 0.80
add_messageMethod · 0.80
categoryFunction · 0.70

Tested by

no test coverage detected