pub fn is_const_evaluatable<'tcx>(
tcx: TyCtxt<'tcx>,
typeck: &'tcx TypeckResults<'tcx>,
e: &'tcx Expr<'_>,
) -> boolExpand description
Checks if the given expression can be evaluated as a constant at the specified node
pub fn is_const_evaluatable<'tcx>(
tcx: TyCtxt<'tcx>,
typeck: &'tcx TypeckResults<'tcx>,
e: &'tcx Expr<'_>,
) -> boolChecks if the given expression can be evaluated as a constant at the specified node