Type Alias rustc_ty_utils::needs_drop::NeedsDropResult

source ·
type NeedsDropResult<T> = Result<T, AlwaysRequiresDrop>;

Aliased Type§

enum NeedsDropResult<T> {
    Ok(T),
    Err(AlwaysRequiresDrop),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(AlwaysRequiresDrop)

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.