QueryResultOrRerunNonErased in rustc_type_ir::solve - Rust
Description: API documentation for the Rust `QueryResultOrRerunNonErased` type in crate `rustc_type_ir`.

Skip to main content

## QueryResultOrRerunNonErased

# Type Alias QueryResultOrRerunNonErased

Source

    pub type QueryResultOrRerunNonErased<I> = Result<CanonicalResponse<I>, NoSolutionOrRerunNonErased>;

## Aliased Type§

    pub enum QueryResultOrRerunNonErased<I> {
        Ok(Canonical<I, Response<I>>),
        Err(NoSolutionOrRerunNonErased),
    }

## Variants§

§

### Ok(Canonical<I, Response<I>>)

Contains the success value

§

### Err(NoSolutionOrRerunNonErased)

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.