rustc_const_eval::const_eval

Module eval_queries

Source

Traitsยง

InterpretationResult

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 an OpTy 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 for simd_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 ๐Ÿ”’