E1005: expected field name after dot
Generated from rellum-diagnostics/src/db.rs.
Explanation
After a dot, Rellum expects either a record field identifier or an integer tuple field index. Other tokens cannot form field access.
Common causes
- ending an expression with a trailing dot
- using a keyword or operator after .
- writing bracket indexing with dot syntax
Canonical fixes
- provide a field name or tuple index
Before:
value = point.
After:
value = point.x
- use array indexing syntax for arrays
Before:
value = items.0
After:
value = items[0]
Code example
value = point.