E2067 Syntax Errors

Syntax

struct '%s' has no fields; a struct must have at least one field

When this occurs

This error is triggered when: struct '%s' has no fields; a struct must have at least one field

Example error message

error[E2067]: struct '%s' has no fields; a struct must have at least one field

How to fix

Review the error message and check your code at the indicated location. The message describes what went wrong — fix the underlying issue it identifies.

Related errors

No related errors.