pub fn format_runtime_diagnostic( source: &str, error: &RuntimeError, span: Option<Span>, ) -> String