E3084 Types Errors

Types

type_of() expects a value, not a type name; use type_of(instance) instead

When this occurs

This error is triggered when: type_of() expects a value, not a type name; use type_of(instance) instead

Example error message

error[E3084]: type_of() expects a value, not a type name; use type_of(instance) instead

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.