Struct deno_ast::Diagnostic [−][src]
pub struct Diagnostic {
pub specifier: String,
pub display_position: LineAndColumnDisplay,
pub message: String,
}
Expand description
Parsing diagnostic.
Fields
specifier: String
Specifier of the source the diagnostic occurred in.
display_position: LineAndColumnDisplay
1-indexed display position the diagnostic occurred at.
message: String
Message text of the diagnostic.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Diagnostic
impl Send for Diagnostic
impl Sync for Diagnostic
impl Unpin for Diagnostic
impl UnwindSafe for Diagnostic
Blanket Implementations
Mutably borrows from an owned value. Read more