Struct languageserver_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.

Trait Implementations

impl Debug for DiagnosticRelatedInformation
[src]

Formats the value using the given formatter. Read more

impl Eq for DiagnosticRelatedInformation
[src]

impl PartialEq for DiagnosticRelatedInformation
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for DiagnosticRelatedInformation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations