[−][src]Module rustc_mir::const_eval::eval_queries

Functions

eval_body_using_ecx
eval_to_allocation_raw_provider
eval_to_const_value_raw_provider
mk_eval_cx

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.

note_on_undefined_behavior_error
op_to_const

This function converts an interpreter value into a constant that is meant for use in the type system.

turn_into_const_value