pub fn found_error_node<S>( file_id: FileId, location: Span, in_rule: S, ) -> Diagnosticwhere S: Into<String>,
Note: tree-sitter originated errors will always have a location.