Function rustc_const_eval::transform::promote_consts::is_const_fn_in_array_repeat_expression
source · pub fn is_const_fn_in_array_repeat_expression<'tcx>(
ccx: &ConstCx<'_, 'tcx>,
place: &Place<'tcx>,
body: &Body<'tcx>
) -> bool
Expand description
This function returns true
if the function being called in the array
repeat expression is a const
function.