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 ๐