Enum rustc_middle::mir::interpret::error::ErrorHandled[][src]

pub enum ErrorHandled {
    Reported(ErrorReported),
    Linted,
    TooGeneric,
}

Variants

Reported(ErrorReported)

Already reported an error for this evaluation, and the compilation is guaranteed to fail. Warnings/lints must not produce Reported.

Linted

Already emitted a lint for this evaluation.

TooGeneric

Don’t emit an error, the evaluation failed because the MIR was generic and the substs didn’t fully monomorphize it.

Trait Implementations

impl Clone for ErrorHandled[src]

impl Copy for ErrorHandled[src]

impl Debug for ErrorHandled[src]

impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for ErrorHandled[src]

impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for ErrorHandled[src]

impl Eq for ErrorHandled[src]

impl From<ErrorHandled> for InterpErrorInfo<'_>[src]

impl From<ErrorReported> for ErrorHandled[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ErrorHandled[src]

impl<'tcx> Lift<'tcx> for ErrorHandled[src]

type Lifted = Self

impl PartialEq<ErrorHandled> for ErrorHandled[src]

impl StructuralEq for ErrorHandled[src]

impl StructuralPartialEq for ErrorHandled[src]

impl<'tcx> TypeFoldable<'tcx> for ErrorHandled[src]

Auto Trait Implementations

impl RefUnwindSafe for ErrorHandled

impl Send for ErrorHandled

impl Sync for ErrorHandled

impl Unpin for ErrorHandled

impl UnwindSafe for ErrorHandled

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
    T: Copy
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<'tcx, T> Subst<'tcx> for T where
    T: TypeFoldable<'tcx>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]