Skip to main content

diagnostics_from_doc

Function diagnostics_from_doc 

Source
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.