(span: SpanId)
| 325 | |
| 326 | #[coverage(off)] |
| 327 | pub(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 | } |
no test coverage detected