E5013 Usage Errors

Usage

function calls are not allowed in file-scope initializers; move this declaration into a function body

When this occurs

`for i in "a"..10`

Example error message

error[E5013]: range start must be integer

How to fix

Range start must be an integer: `0..10` not `"a"..10`.

Related errors