Skip to main content

other_error

Function other_error 

Source
pub fn other_error(msg: impl Into<String>, span: Span) -> ParseError
Expand description

Convenience: wrap any string into an Other parse error.