pub fn extract_string_arg( args: &[Value], index: usize, name: &str, span: Span, ) -> Result<String, Diagnostic>
Extract a String argument from args, or return a diagnostic.