Enum evmil::il::CompilerError

source ·
pub enum CompilerError {
    LiteralOverflow,
    InvalidMemoryAccess,
    InvalidLVal,
}

Variants§

§

LiteralOverflow

An integer (or hex) literal is too large (i.e. exceeds 2^256).

§

InvalidMemoryAccess

Attempt to read from an invalid memory region.

§

InvalidLVal

Attempt to write something which doesn’t exist, or is not an lval.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.