(span: SpanId)
| 269 | |
| 270 | #[coverage(off)] |
| 271 | pub(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)] |
| 289 | pub(super) fn graph_read_terminator(span: SpanId) -> EvalDiagnostic { |
no test coverage detected