pub fn locate(
source: &str,
stream: &AtomStream,
err: &ParseError<Span>,
) -> ParseFileErrorExpand description
Reduce a failed parse to one position and one message.
stream must be the stream the parse ran on — that is where the high-water
mark is. See the module doc for why the error tree alone is not enough.