pub type ProvidedValue<'tcx> = Value<'tcx>;Expand description
Type returned from query providers and loaded from disk-cache.
Aliased Type§
pub enum ProvidedValue<'tcx> {
Ok(TyAndLayout<'tcx, Ty<'tcx>>),
Err(&'tcx LayoutError<'tcx>),
}Variants§
Ok(TyAndLayout<'tcx, Ty<'tcx>>)
Contains the success value
Err(&'tcx LayoutError<'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.