pub fn unexpected_node_kind<S1, S2, S3>(
file_id: FileId,
location: Span,
in_rule: S1,
expecting: S2,
got: S3,
) -> Diagnostic
Expand description
Note: tree-sitter originated errors will always have a location.
pub fn unexpected_node_kind<S1, S2, S3>(
file_id: FileId,
location: Span,
in_rule: S1,
expecting: S2,
got: S3,
) -> Diagnostic
Note: tree-sitter originated errors will always have a location.