pub fn syntax_error(msg: impl Into<String>, span: Span) -> ParseErrorExpand description
Convenience: create an InvalidSyntax error at the given location.
pub fn syntax_error(msg: impl Into<String>, span: Span) -> ParseErrorConvenience: create an InvalidSyntax error at the given location.