Type Alias PickResult

Source
pub(crate) type PickResult<'tcx> = Result<Pick<'tcx>, MethodError<'tcx>>;

Aliased Type§

pub(crate) enum PickResult<'tcx> {
    Ok(Pick<'tcx>),
    Err(MethodError<'tcx>),
}

Variants§

§

Ok(Pick<'tcx>)

Contains the success value

§

Err(MethodError<'tcx>)

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.