pub struct ParseFileError {
pub path: PathBuf,
pub span: Option<Span>,
pub message: String,
pub severity: Severity,
}Expand description
Parse error with severity.
Fields§
§path: PathBufFile path.
span: Option<Span>Location in source.
message: StringError message.
severity: SeveritySeverity level.
Trait Implementations§
Source§impl Clone for ParseFileError
impl Clone for ParseFileError
Source§fn clone(&self) -> ParseFileError
fn clone(&self) -> ParseFileError
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ParseFileError
impl RefUnwindSafe for ParseFileError
impl Send for ParseFileError
impl Sync for ParseFileError
impl Unpin for ParseFileError
impl UnsafeUnpin for ParseFileError
impl UnwindSafe for ParseFileError
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