pub enum ErrorHandled {
Reported(ReportedErrorInfo, Span),
TooGeneric(Span),
}
Variants§
Reported(ReportedErrorInfo, Span)
Already reported an error for this evaluation, and the compilation is
guaranteed to fail. Warnings/lints must not produce Reported
.
TooGeneric(Span)
Don’t emit an error, the evaluation failed because the MIR was generic and the args didn’t fully monomorphize it.
Auto Trait Implementations§
impl Freeze for ErrorHandled
impl RefUnwindSafe for ErrorHandled
impl Send for ErrorHandled
impl Sync for ErrorHandled
impl Unpin for ErrorHandled
impl UnwindSafe for ErrorHandled
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.