Module rustc_const_eval::const_eval::valtrees
source · Functions§
- branches π
- create_valtree_place π
- dump_place π
- eval_to_valtree πEvaluates a constant and turns it into a type-level constant value.
- Valtrees donβt store the
MemPlaceMeta
that all dynamically sized values have in the interpreter. This function reconstructs it. - slice_branches π
- valtree_into_mplace π
- Converts a
ValTree
to aConstValue
, which is needed after mir construction has finished. - valtree_to_ref πPut a valtree into memory and return a reference to that.