Module rustc_const_eval::const_eval::valtrees
source · Functions§
- branches 🔒
- Evaluates a constant and turns it into a type-level constant value.
- Valtrees don’t store the
MemPlaceMetathat all dynamically sized values have in the interpreter. This function reconstructs it. - Converts a
ValTreeto aConstValue, which is needed after mir construction has finished. - Put a valtree into memory and return a reference to that.