Rellum Rellum

E0008: unterminated char literal

Generated from rellum-diagnostics/src/db.rs.

Explanation

Character literals must contain one character or escape sequence and then close with a single quote. Without the closing quote, the lexer cannot know where the char token ends.

Common causes

Canonical fixes

Before:

ch = 'x

After:

ch = 'x'

Before:

label = 'ok'

After:

label = "ok"

Code example

ch = 'x