Struct lsp::types::DiagnosticRelatedInformation [−][src]
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
location: Location
The location of this related diagnostic information.
message: String
The message of this related diagnostic information.
Methods
impl DiagnosticRelatedInformation
[src]
impl DiagnosticRelatedInformation
The DiagnosticRelatedInformation namespace provides helper functions to work with DiagnosticRelatedInformation literals.
pub fn create(location: Location, message: String) -> Self
[src]
pub fn create(location: Location, message: String) -> Self
Creates a new DiagnosticRelatedInformation literal.
Trait Implementations
impl Debug for DiagnosticRelatedInformation
[src]
impl Debug for DiagnosticRelatedInformation
Auto Trait Implementations
impl Send for DiagnosticRelatedInformation
impl Send for DiagnosticRelatedInformation
impl Sync for DiagnosticRelatedInformation
impl Sync for DiagnosticRelatedInformation