Rellum Rellum

E0004: invalid use of !

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

Explanation

The ! character is part of effect identifiers such as print!, or the != operator. A standalone ! is not a unary operator in Rellum syntax.

Common causes

Canonical fixes

Before:

value = !flag

After:

value = not flag

Before:

main! = !(value)

After:

main! = print!(value)

Code example

value = !flag