Re-exports§
pub use self::uneval::*;
Modules§
- uneval 🔒
- Reconstruct structured expressions from rustc’s various constant representations.
Structs§
- Constant
Field Expr - Variant
Idx - The source-order index of a variant in a type.
Enums§
- Constant
Byte - A byte of an evaluated constant, in the MiniRust sense.
- Constant
Byte Provenance - What a pointer byte in an evaluated constant points to.
- Constant
Expr Kind - The subset of expressions that corresponds to constants.
- Constant
Int - Constant
Literal - Variant
Kind - Describe the kind of a variant
Type Aliases§
- Constant
Expr - Rustc has different representation for constants: one for MIR
([
rustc_middle::mir::Const]), one for the type system ([rustc_middle::ty::ConstKind]). For simplicity hax maps those two construct to one sameConstantExprtype. - Constant
Kind