rustc_middle::mir::interpret

Type Alias AllocResult

source
pub type AllocResult<T = ()> = Result<T, AllocError>;

Aliased Type§

enum AllocResult<T = ()> {
    Ok(T),
    Err(AllocError),
}

Variants§

§

Ok(T)

Contains the success value

§

Err(AllocError)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.