Traits§
Functions§
- const_
validate_ 🔒mplace - eval_
body_ 🔒using_ ecx - eval_
in_ 🔒interpreter - eval_
static_ initializer_ provider - eval_
to_ allocation_ raw_ provider - eval_
to_ const_ value_ raw_ provider - mk_
eval_ cx_ for_ const_ val - Create an interpreter context to inspect the given
ConstValue
. Returns both the context and anOpTy
that represents the constant. - mk_
eval_ 🔒cx_ to_ read_ const_ val - 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 - report_
validation_ 🔒error - turn_
into_ 🔒const_ value