Value in rustc_middle::queries::coherent_trait - Rust
Description: API documentation for the Rust `Value` type in crate `rustc_middle`.

Skip to main content

## Value

# Type Alias Value

Source

    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;

## Aliased Type§

    pub enum Value<'tcx> {
        Ok(()),
        Err(ErrorGuaranteed),
    }

## Variants§

§

### Ok(())

Contains the success value

§

### Err(ErrorGuaranteed)

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.