Skip to main content

note_error_span

Function note_error_span 

Source
pub fn note_error_span(pos: Pos, end: Pos)
Expand description

Record a SyntaxError found after parsing — an early error such as a redeclaration — at the source span [pos, end), for take_error_pos.