pub struct IncompleteItem(/* private fields */);
Expand description
Error returned by ModuleId::resolve_name
if the name is not found, and parsing of the module
failed. In this case, emitting an error message about failure to resolve the name might be misleading,
because the file may in fact contain an item with the given name, somewhere after the syntax error that caused
parsing to fail.
Implementations§
Trait Implementations§
Source§impl Debug for IncompleteItem
impl Debug for IncompleteItem
Source§impl From<IncompleteItem> for ConstEvalError
impl From<IncompleteItem> for ConstEvalError
Source§fn from(err: IncompleteItem) -> Self
fn from(err: IncompleteItem) -> Self
Converts to this type from the input type.
Source§impl From<IncompleteItem> for FatalError
impl From<IncompleteItem> for FatalError
Source§fn from(err: IncompleteItem) -> Self
fn from(err: IncompleteItem) -> Self
Converts to this type from the input type.
Source§impl From<IncompleteItem> for TypeError
impl From<IncompleteItem> for TypeError
Source§fn from(err: IncompleteItem) -> Self
fn from(err: IncompleteItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IncompleteItem
impl RefUnwindSafe for IncompleteItem
impl Send for IncompleteItem
impl Sync for IncompleteItem
impl Unpin for IncompleteItem
impl UnwindSafe for IncompleteItem
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