Type Definition rustc_middle::mir::AssertMessage

source ·
pub type AssertMessage<'tcx> = AssertKind<Operand<'tcx>>;
Expand description

Type for MIR Assert terminator error messages.


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:56 bytes

Size for each variant:

  • BoundsCheck: 55 bytes
  • Overflow: 55 bytes
  • OverflowNeg: 31 bytes
  • DivisionByZero: 31 bytes
  • RemainderByZero: 31 bytes
  • ResumedAfterReturn: 1 byte
  • ResumedAfterPanic: 1 byte
  • MisalignedPointerDereference: 55 bytes