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,
)