Function missing_node

Source
pub fn missing_node<S1, S2, S3>(
    file_id: FileId,
    location: Span,
    in_rule: S1,
    expecting: S2,
    field_name: Option<S3>,
) -> Diagnostic
where S1: Into<String>, S2: Into<String>, S3: Into<String>,
Expand description

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