E3061 Types Errors

Types

struct '%s' cannot contain itself by value through '%s'; break the cycle with a pointer field '^%s'

When this occurs

This error is triggered when: struct '%s' cannot contain itself by value through '%s'; break the cycle with a pointer field '^%s'

Example error message

error[E3061]: struct '%s' cannot contain itself by value through '%s'; break the cycle with a pointer field '^%s'

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.