Rellum Rellum

E1009: expected effect identifier

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

Explanation

Effect bindings and effect wrapper declarations require names with effect identifier syntax, such as main!, print!, or a wrapper ending in !. A plain identifier is parsed as a value name, not an effect name.

Common causes

Canonical fixes

Before:

main = print!(0)

After:

main! = print!(0)

Before:

effect log(msg: String) = print!(msg)

After:

effect log!(msg: String) = print!(msg)

Code example

main = print!(0)