pub fn from_lsp_diagnostics(
path: &str,
items: &[Value],
) -> Vec<StructuredDiagnostic>Expand description
Preserve LSP textDocument/publishDiagnostics items as structured
diagnostics. items is the LSP diagnostics array; path the
document they belong to.