Type Alias rustc_middle::traits::solve::QueryResult

source ·
pub type QueryResult<'tcx> = QueryResult<TyCtxt<'tcx>>;

Aliased Type§

enum QueryResult<'tcx> {
    Ok(Canonical<TyCtxt<'tcx>, Response<TyCtxt<'tcx>>>),
    Err(NoSolution),
}

Variants§

§1.0.0

Ok(Canonical<TyCtxt<'tcx>, Response<TyCtxt<'tcx>>>)

Contains the success value

§1.0.0

Err(NoSolution)

Contains the error value

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 48 bytes

Size for each variant:

  • Ok: 48 bytes
  • Err: 0 bytes