Modules§
- dummy_
machine 🔒 - error 🔒
- eval_
queries 🔒 - fn_
queries 🔒 - machine 🔒
- valtrees 🔒
Macros§
- throw_
machine_ stop_ str - Macro for machine-specific
InterpError
without allocation. (These will never be shown to the user, but they help diagnose ICEs.)
Structs§
- Compile
Time Machine - Extra machine state for CTFE, and the Machine instance.
- Dummy
Machine
Enums§
- Check
Alignment - Const
Eval ErrKind - The CTFE machine has some custom error kinds.
- Memory
Kind - ValTree
Creation 🔒Error
Constants§
Traits§
Functions§
- eval_
static_ initializer_ provider - eval_
to_ allocation_ raw_ provider - eval_
to_ const_ value_ raw_ provider - get_
span_ and_ frames - mk_
eval_ cx_ for_ const_ val - Create an interpreter context to inspect the given
ConstValue
. Returns both the context and anOpTy
that represents the constant. - provide
- tag_
for_ variant_ provider - Computes the tag (if any) for a given type and variant.
- try_
destructure_ 🔒mir_ constant_ for_ user_ output