rustc_lint::types::literal

Function lint_literal

source
pub(crate) fn lint_literal<'tcx>(
    cx: &LateContext<'tcx>,
    type_limits: &TypeLimits,
    e: &'tcx Expr<'tcx>,
    lit: &Lit,
)