E2013 Syntax Errors

Syntax

duplicate field name '%s' in struct '%s'

When this occurs

Struct with duplicate field names

Example error message

error[E2013]: duplicate field name 'x' in struct

How to fix

Rename one of the duplicate struct fields to have a unique name.

Related errors