Rellum Rellum

S0081: invalid effect wrapper body

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

Explanation

Effect wrapper bodies are templates for Fire-phase effect calls. They may contain effect calls and -> sequencing only; pure computation belongs in arguments or in separate pure helpers.

Common causes

Canonical fixes

Before:

effect save!(path: String, value: String) = path + value

After:

effect save!(path: String, value: String) = write!(path, value)

Code example

effect save!(path: String, value: String) = path + value