Type Alias rustc_trait_selection::infer::InferResult
source · pub type InferResult<'tcx, T> = Result<InferOk<'tcx, T>, TypeError<'tcx>>;
Aliased Type§
enum InferResult<'tcx, T> {
Ok(InferOk<'tcx, T>),
Err(TypeError<'tcx>),
}
Variants§
Ok(InferOk<'tcx, T>)
Contains the success value
Err(TypeError<'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.