E2024 Parse Errors

invalid-type-name

expected valid type name

When this occurs

Invalid type in declaration

Example error message

error[E2024]: expected type name, got RBRACE

How to fix

Use a valid type name: `int`, `float`, `string`, `bool`, `char`, or a defined struct/enum name.

Related errors