Static rustc_lint::source ·
static OVERFLOWING_LITERALS: &Lint
overflowing_literals lint detects literal out of range for its
let x: u8 = 1000;
It is usually a mistake to use a literal that overflows the type where it is used. Either use a literal that is within range, or change the type to be within the range of the literal.