pub fn track_const_eval<T>(
const_name: &str,
const_id: usize,
type_name: &str,
location: &str,
value: T,
) -> TExpand description
Track const evaluation.
Records a ConstEval event. Use this when a const value is evaluated.
§Arguments
const_name- Name of the constconst_id- Unique identifiertype_name- Type of the constlocation- Source locationvalue- The const value (returned unchanged)
§Returns
The input value, unchanged.