Struct mech_syntax::parser::ParseErrorDetail
source · pub struct ParseErrorDetail {
pub message: &'static str,
pub annotation_rngs: Vec<SourceRange>,
}Expand description
The part of error context that’s independent to its cause location.
Fields§
§message: &'static str§annotation_rngs: Vec<SourceRange>Trait Implementations§
source§impl Clone for ParseErrorDetail
impl Clone for ParseErrorDetail
source§fn clone(&self) -> ParseErrorDetail
fn clone(&self) -> ParseErrorDetail
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more