E3032 Types Errors

Types

cannot compare enum '%s' with enum '%s'; different enum types are never equal

When this occurs

This error is triggered when: cannot compare enum '%s' with enum '%s'; different enum types are never equal

Example error message

error[E3032]: cannot compare values from different enum types

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.