pub struct UnresolvedExternSymbol(pub String);Expand description
An extern symbol the JIT could not resolve at run time. This is a user
error (a bad FFI declaration), not a compiler bug, so the driver reports it
as a clean diagnostic rather than an internal error.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for UnresolvedExternSymbol
impl Debug for UnresolvedExternSymbol
Source§impl Display for UnresolvedExternSymbol
impl Display for UnresolvedExternSymbol
Source§impl Error for UnresolvedExternSymbol
impl Error for UnresolvedExternSymbol
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for UnresolvedExternSymbol
impl RefUnwindSafe for UnresolvedExternSymbol
impl Send for UnresolvedExternSymbol
impl Sync for UnresolvedExternSymbol
impl Unpin for UnresolvedExternSymbol
impl UnsafeUnpin for UnresolvedExternSymbol
impl UnwindSafe for UnresolvedExternSymbol
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