Rellum Rellum

S0021: effect sequencing in pure expression

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

Explanation

The -> operator sequences effect calls during Fire. Pure expressions compute values and cannot schedule effect order, so -> is only valid inside effect expressions.

Common causes

Canonical fixes

Before:

value = print!(a) -> print!(b)

After:

main! = print!(a) -> print!(b)

Code example

value = print!(a) -> print!(b)