Struct rustfmt_nightly::modules::ModuleResolutionError
source · pub struct ModuleResolutionError {
pub(crate) module: String,
pub(crate) kind: ModuleResolutionErrorKind,
}
Expand description
Represents errors while trying to resolve modules.
Fields§
§module: String
§kind: ModuleResolutionErrorKind
Trait Implementations§
source§impl Debug for ModuleResolutionError
impl Debug for ModuleResolutionError
source§impl Display for ModuleResolutionError
impl Display for ModuleResolutionError
source§impl Error for ModuleResolutionError
impl Error for ModuleResolutionError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ModuleResolutionError> for ErrorKind
impl From<ModuleResolutionError> for ErrorKind
source§fn from(source: ModuleResolutionError) -> Self
fn from(source: ModuleResolutionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ModuleResolutionError
impl Send for ModuleResolutionError
impl Sync for ModuleResolutionError
impl Unpin for ModuleResolutionError
impl UnwindSafe for ModuleResolutionError
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 80 bytes