Enum rustc_const_eval::interpret::ErrorHandled
source · [−]pub enum ErrorHandled {
Reported(ErrorGuaranteed),
Linted,
TooGeneric,
}
Variants
Reported(ErrorGuaranteed)
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.
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
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: 1 byte
Size for each variant:
Reported
: 0 bytesLinted
: 0 bytesTooGeneric
: 0 bytes