Module rustc_const_eval::const_eval::eval_queries
source ยท Traitsยง
Functionsยง
- eval_
body_ ๐using_ ecx - eval_
in_ ๐interpreter - Create an interpreter context to inspect the given
ConstValue
. Returns both the context and anOpTy
that represents the constant. - The
InterpCx
is only meant to be used to do field and index projections into constants forsimd_shuffle
and const patterns in match arms. - op_
to_ ๐const This function converts an interpreter value into a MIR constant. - report_
eval_ ๐error