Enum rustc_privacy::ty::layout::FnAbiError [−][src]
pub enum FnAbiError<'tcx> {
Layout(LayoutError<'tcx>),
AdjustForForeignAbi(AdjustForForeignAbiError),
}Expand description
Error produced by attempting to compute or adjust a FnAbi.
Variants
Layout(LayoutError<'tcx>)
Tuple Fields
0: LayoutError<'tcx>Error produced by a layout_of call, while computing FnAbi initially.
AdjustForForeignAbi(AdjustForForeignAbiError)
Tuple Fields
Error produced by attempting to adjust a FnAbi, for a “foreign” ABI.
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for FnAbiError<'tcx>
impl<'tcx> !Send for FnAbiError<'tcx>
impl<'tcx> !Sync for FnAbiError<'tcx>
impl<'tcx> Unpin for FnAbiError<'tcx>
impl<'tcx> !UnwindSafe for FnAbiError<'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 40 bytes
Size for each variant:
Layout: 16 bytesAdjustForForeignAbi: 32 bytes