pub struct Issue {
pub level: Level,
pub message: String,
pub span: Span,
pub fragments: Vec<(String, Span)>,
}
Expand description
An issue encountered during parsing, or later stages
Fields§
§level: Level
The level of the issue
message: String
The primary message of the issue
span: Span
The span to attach the primary message to
fragments: Vec<(String, Span)>
List of secondary messages and spans
Implementations§
Trait Implementations§
source§impl PartialEq for Issue
impl PartialEq for Issue
impl Eq for Issue
impl StructuralPartialEq for Issue
Auto Trait Implementations§
impl Freeze for Issue
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnwindSafe for Issue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more