Struct lsp::types::DiagnosticRelatedInformation[][src]

pub struct DiagnosticRelatedInformation {
    pub location: Location,
    pub message: String,
}

Represents a related message and source code location for a diagnostic. This should be used to point to code locations that cause or related to a diagnostics, e.g when duplicating a symbol in a scope.

Fields

The location of this related diagnostic information.

The message of this related diagnostic information.

Methods

impl DiagnosticRelatedInformation
[src]

The DiagnosticRelatedInformation namespace provides helper functions to work with DiagnosticRelatedInformation literals.

Creates a new DiagnosticRelatedInformation literal.

Trait Implementations

impl Debug for DiagnosticRelatedInformation
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations