E1002 Lexer Errors

illegal-or-character

illegal OR character in source

When this occurs

Single `|` without being doubled

Example error message

error[E1002]: unexpected character '|', did you mean '||'?

How to fix

Use `||` for logical OR operations, not a single `|` character.

Related errors

No related errors.