pub fn diagnostics_from_doc(doc: &ParsedDoc) -> Vec<Diagnostic>Expand description
Build LSP diagnostics from an already-parsed document. Separated from
parse_document_no_diags so the workspace-scan path can skip the
allocation entirely.
pub fn diagnostics_from_doc(doc: &ParsedDoc) -> Vec<Diagnostic>Build LSP diagnostics from an already-parsed document. Separated from
parse_document_no_diags so the workspace-scan path can skip the
allocation entirely.