//! Parse diagnostics.
usecrate::span::Span;/// A non-fatal parse diagnostic. The reader is fault-tolerant (ADR-0004): it
/// returns a partial tree plus a list of these, resynchronizing at the next
/// top-level form.
#[derive(Debug, Clone, PartialEq)]pubstructParseError{/// Byte range the diagnostic points at.
pubspan: Span,
/// 1-based line.
publine:u32,
/// Human-readable description of the problem.
pubmessage: String,
}