Module rustc_const_eval::const_eval
source ยท Modulesยง
- dummy_
machine ๐ - error ๐
- eval_
queries ๐ - fn_
queries ๐ - machine ๐
- valtrees ๐
Macrosยง
- Macro for machine-specific
InterpError
without allocation. (These will never be shown to the user, but they help diagnose ICEs.)
Structsยง
- Extra machine state for CTFE, and the Machine instance.
Enumsยง
- The CTFE machine has some custom error kinds.
- ValTree
Creation ๐Error
Constantsยง
- VALTRE
E_ ๐MAX_ NODES
Traitsยง
Functionsยง
- Whether the
def_id
is an unstable const fn and what feature gate(s) are necessary to enable it. - Create an interpreter context to inspect the given
ConstValue
. Returns both the context and anOpTy
that represents the constant. - Computes the tag (if any) for a given type and variant.