pub(crate) fn perr(span: impl SpanLike, kind: ParseErrorKind) -> ParseError
Expand description
This is a free standing function instead of an associated one to reduce noise around parsing code. There are lots of places that create errors, we I wanna keep them as short as possible.