E1013 Lexer Errors

number-trailing-underscore

number ends with underscore

When this occurs

Numbers like `123_`

Example error message

error[E1013]: numeric literal cannot end with underscore

How to fix

Numbers cannot end with underscore. Use `1_000` not `1000_`.

Related errors