Rellum Rellum

E0002: unexpected indentation

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

Explanation

A line may indent only when the previous syntactic form opens an indented block, such as match arms, request bodies, enum variant blocks, or expression blocks after = or =>. Extra indentation elsewhere would create a block the parser is not expecting.

Common causes

Canonical fixes

Before:

value = 1
    main! = print!(value)

After:

value = 1
main! = print!(value)

Code example

value = 1
    main! = print!(value)