E3068 Types Errors

Types

'void' is not a user-facing type; omit the '-> R' clause to declare a function with no return value

When this occurs

This error is triggered when: 'void' is not a user-facing type; omit the '-> r' clause to declare a function with no return value

Example error message

error[E3068]: 'void' is not a user-facing type; omit the '-> R' clause to declare a function with no return value

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.