(span: SpanId)
| 251 | |
| 252 | #[coverage(off)] |
| 253 | pub(super) fn function_pointer_constant(span: SpanId) -> EvalDiagnostic { |
| 254 | let mut diagnostic = Diagnostic::new( |
| 255 | category(PostgresDiagnosticCategory::FunctionPointerConstant), |
| 256 | Severity::Bug, |
| 257 | ) |
| 258 | .primary(Label::new( |
| 259 | span, |
| 260 | "function pointer cannot be compiled to SQL", |
| 261 | )); |
| 262 | |
| 263 | diagnostic.add_message(Message::note( |
| 264 | "the statement placement pass should have rejected this from the Postgres backend", |
| 265 | )); |
| 266 | |
| 267 | diagnostic |
| 268 | } |
| 269 | |
| 270 | #[coverage(off)] |
| 271 | pub(super) fn projected_assignment(span: SpanId) -> EvalDiagnostic { |
no test coverage detected