fn lex_unquoted_element<'a>( buf: &mut LexBuf<'a>, is_special_char: impl Fn(char) -> bool, is_end_of_literal: impl Fn(char) -> bool, ) -> Result<Option<Cow<'a, str>>, String>