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.
- ValTreeCreationError ๐
Constantsยง
- VALTREE_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.