Rellum Rellum

S0009: effect identifier in pure expression

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

Explanation

Names ending in ! identify effects, not pure values. Pure expressions run during Derive and cannot refer to effect identifiers as values because effects are scheduled only from ! bindings, request bindings, or effect wrapper bodies.

Common causes

Canonical fixes

Before:

value = print!

After:

main! = print!("ready")

Code example

value = print!