E3038 Types Errors

Types

'void' cannot be used as a variable type or in expressions like type_of()

When this occurs

This error is triggered when: 'void' cannot be used as a variable type or in expressions like type_of()

Example error message

error[E3038]: 'void' cannot be used as a variable type or in expressions like type_of()

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.