E1008 Lexer Errors

empty-char-literal

character literal is empty

When this occurs

Empty char `''`

Example error message

error[E1008]: empty character literal

How to fix

Character literals must contain exactly one character. Use `' '` for space or another valid character.

Related errors