pub fn unknown_function(name: &str, span: Span) -> Diagnostic
Creates an “unknown function” diagnostic.