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: usize
line_stop: usize
col_start: usize
col_stop: usize
path: Arc<String>
content: String
message: String
Implementations
Trait Implementations
Performs the conversion.
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 FormattedError
impl Send for FormattedError
impl Sync for FormattedError
impl Unpin for FormattedError
impl UnwindSafe for FormattedError
Blanket 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