Skip to main content

Module types

Module types 

Source
Expand description

Diagnostic payload data structures and related information types. Diagnostic types: Diagnostic and RelatedInformation.

This module contains the diagnostic message types used by LSP.

Type unification: DiagnosticSeverity and DiagnosticTag are re-exported from the codes module, ensuring a single canonical type that can be used from either module path.

Re-exports§

pub use crate::codes::DiagnosticSeverity;
pub use crate::codes::DiagnosticTag;

Structs§

Diagnostic
A diagnostic message with location and metadata.
RelatedInformation
Information related to a diagnostic.