Function found_error_node

Source
pub fn found_error_node<S>(
    file_id: FileId,
    location: Span,
    in_rule: S,
) -> Diagnostic
where S: Into<String>,
Expand description

Note: tree-sitter originated errors will always have a location.