Type Alias rustc_middle::ty::abstract_const::BoundAbstractConst
source · pub type BoundAbstractConst<'tcx> = Result<Option<EarlyBinder<'tcx, Const<'tcx>>>, ErrorGuaranteed>;
Aliased Type§
enum BoundAbstractConst<'tcx> {
Ok(Option<EarlyBinder<TyCtxt<'tcx>, Const<'tcx>>>),
Err(ErrorGuaranteed),
}
Variants§
Ok(Option<EarlyBinder<TyCtxt<'tcx>, Const<'tcx>>>)
Contains the success value
Err(ErrorGuaranteed)
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: 16 bytes
Size for each variant:
Ok
: 8 bytesErr
: 8 bytes