Module rustc_const_eval::const_eval
source ยท Modulesยง
- dummy_
machine ๐ - error ๐
- eval_
queries ๐ - fn_
queries ๐ - machine ๐
- valtrees ๐
Macrosยง
- Macro for machine-specific
InterpErrorwithout 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_idis 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 anOpTythat represents the constant. - Computes the tag (if any) for a given type and variant.