E2037 Syntax Errors

Syntax

duplicate function name in struct; each function must have a unique name

When this occurs

Using a reserved keyword or builtin type as a struct name

Example error message

error[E2037]: struct name 'int' is reserved

How to fix

Choose a different struct name that is not a reserved keyword or builtin type.

Related errors