E3115 Types Errors

Types

enum '%s' is not a tagged enum; variant '%s' cannot be called

When this occurs

This error is triggered when: enum '%s' is not a tagged enum; variant '%s' cannot be called

Example error message

error[E3115]: enum '%s' is not a tagged enum; variant '%s' cannot be called

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.