Rellum Rellum

E1000: expected top-level binding

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

Explanation

A module body can contain imports followed by type, enum, function, event, graph, state, request, effect wrapper, and effect bindings. Any other token at top level does not start a valid item.

Common causes

Canonical fixes

Before:

print!("ready")

After:

main! = print!("ready")

Code example

print!("ready")