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