Function lang_util::error::error_location

source ยท
pub fn error_location<T, E: LexicalError>(
    error: &ParseError<LexerPosition, T, E>,
) -> (FileId, TextRange)
Expand description

Return the LexerLocation of a lalrpop_util::ParseError