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

Function projected_assignment

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

Source from the content-addressed store, hash-verified

269
270#[coverage(off)]
271pub(super) fn projected_assignment(span: SpanId) -> EvalDiagnostic {
272 let mut diagnostic = Diagnostic::new(
273 category(PostgresDiagnosticCategory::ProjectedAssignment),
274 Severity::Bug,
275 )
276 .primary(Label::new(
277 span,
278 "assignment to a projected place in SSA form",
279 ));
280
281 diagnostic.add_message(Message::note(
282 "MIR is always in SSA form; projected assignments should never exist",
283 ));
284
285 diagnostic
286}
287
288#[coverage(off)]
289pub(super) fn graph_read_terminator(span: SpanId) -> EvalDiagnostic {

Callers 1

compile_statementMethod · 0.85

Calls 3

primaryMethod · 0.80
add_messageMethod · 0.80
categoryFunction · 0.70

Tested by

no test coverage detected