pub fn eval_to_valtree<'tcx>(
    tcx: QueryCtxt<'tcx>,
    key: eval_to_valtree<'tcx>
) -> QueryStackFrame
Expand description

Evaluate a constant and convert it to a type level constant or return None if that is not possible.