pub enum ResolveError {
ImportCycle {
chain: Vec<PathBuf>,
},
FileNotFound {
path: PathBuf,
},
IoError {
path: PathBuf,
message: String,
},
ParseFailed {
path: PathBuf,
errors: Vec<ParseError>,
},
}Expand description
Cross-file resolution error.
Variants§
ImportCycle
Circular import detected.
FileNotFound
File not found on disk.
IoError
File could not be read.
ParseFailed
File was parsed but with errors; partial AST available.
Trait Implementations§
Source§impl Clone for ResolveError
impl Clone for ResolveError
Source§fn clone(&self) -> ResolveError
fn clone(&self) -> ResolveError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolveError
impl Debug for ResolveError
Auto Trait Implementations§
impl Freeze for ResolveError
impl RefUnwindSafe for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl UnsafeUnpin for ResolveError
impl UnwindSafe for ResolveError
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