Function clippy_utils::consts::constant
source · pub fn constant<'tcx>(
lcx: &LateContext<'tcx>,
typeck_results: &TypeckResults<'tcx>,
e: &Expr<'_>
) -> Option<(Constant, bool)>
pub fn constant<'tcx>(
lcx: &LateContext<'tcx>,
typeck_results: &TypeckResults<'tcx>,
e: &Expr<'_>
) -> Option<(Constant, bool)>