Skip to main content

diagnostic_related_information

Function diagnostic_related_information 

Source
fn diagnostic_related_information(
    config: &DiagnosticsMapConfig,
    workspace_root: &AbsPath,
    span: DiagnosticSpan,
    snap: &GlobalStateSnapshot,
) -> Option<DiagnosticRelatedInformation>
Expand description

Converts a secondary Rust span to a LSP related information

If the span is unlabelled this will return None.