E0001: tab used in indentation
Generated from rellum-diagnostics/src/db.rs.
Explanation
Rellum layout is indentation-sensitive and counts indentation in spaces. Tabs are rejected in leading indentation because their visual width depends on editor settings and would make block structure ambiguous.
Common causes
- using a tab before an indented line
- mixing tabs and spaces in a layout block
- letting an editor auto-indent with tabs
Canonical fixes
- replace indentation tabs with spaces
Before:
main! = print!(0)
After:
main! = print!(0)
- configure the editor to indent Rellum files with spaces
Code example
main! = print!(0)