E3049 Types Errors
Types
cannot use '%s' on enum values; enums only support == and != comparisons
When this occurs
This error is triggered when: cannot use '%s' on enum values; enums only support == and != comparisons
Example error message
error[E3049]:
cannot use '%s' on enum values; enums only support == and != comparisons
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.