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
sourceimpl Debug for ModuleResolutionError
impl Debug for ModuleResolutionError
sourceimpl Display for ModuleResolutionError
impl Display for ModuleResolutionError
sourceimpl Error for ModuleResolutionError
impl Error for ModuleResolutionError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<ModuleResolutionError> for ErrorKind
impl From<ModuleResolutionError> for ErrorKind
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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