Skip to main content

diagnostic_to_lsp_with_src

Function diagnostic_to_lsp_with_src 

Source
pub fn diagnostic_to_lsp_with_src(diag: &Diagnostic, src: &str) -> Value
Expand description

Convert a vibe Diagnostic to an LSP diagnostic JSON value (with source text for exact line/col).