Struct leo_ast::errors::error::FormattedError [−][src]
pub struct FormattedError {
pub line_start: usize,
pub line_stop: usize,
pub col_start: usize,
pub col_stop: usize,
pub path: Arc<String>,
pub content: String,
pub message: String,
}Expand description
Formatted compiler error type
–> file.leo: 2:8
|
2 | let a = x;
| ^
|
= undefined value x
Fields
line_start: usizeline_stop: usizecol_start: usizecol_stop: usizepath: Arc<String>content: Stringmessage: StringImplementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
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 FormattedErrorimpl Send for FormattedErrorimpl Sync for FormattedErrorimpl Unpin for FormattedErrorimpl UnwindSafe for FormattedErrorBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more