pub type QueryResult<'tcx> = QueryResult<TyCtxt<'tcx>>;
Aliased Type§
pub enum QueryResult<'tcx> {
Ok(Canonical<TyCtxt<'tcx>, Response<TyCtxt<'tcx>>>),
Err(NoSolution),
}
Variants§
Ok(Canonical<TyCtxt<'tcx>, Response<TyCtxt<'tcx>>>)
Contains the success value
Err(NoSolution)
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.