Rellum Rellum

E1008: expected identifier

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

Explanation

The parser expected an identifier name, such as a binding name, type parameter name, import segment, field name, or function parameter. The token at this position cannot be used as a name.

Common causes

Canonical fixes

Before:

type Pair[] = { value: Int }

After:

type Pair[T] = { value: T }

Code example

type Pair[] = { value: Int }