E0009: invalid integer literal
Generated from rellum-diagnostics/src/db.rs.
Explanation
Integer literals must fit the accepted decimal, binary, or hexadecimal syntax and range. If the lexer cannot parse the cleaned literal, it cannot produce a numeric token.
Common causes
- using malformed 0x or 0b digits
- placing separators or signs where the integer grammar does not allow them
- writing an integer outside the supported i64 range
Canonical fixes
- write a valid integer literal
Before:
value = 0xzz
After:
value = 0xff
- use a Float literal when fractional or exponent notation is intended
Code example
value = 0xzz