Module rustc_const_eval::const_eval::eval_queries
source · Traits§
Functions§
- 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. - This function converts an interpreter value into a MIR constant.