Rellum Rellum

S0150: invalid effect result binding

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

Explanation

The <- binding operator sequences an awaitable effect inside an effect body and binds its result before the body continues. It is not a pure local binding and it cannot bind ingress, request, or Unit-returning output effects.

Common causes

Canonical fixes

Before:

value <- parse(input)

After:

value = parse(input)

Before:

_ <- print!(value)

After:

print!(value)

Code example

value <- parse(input)