E3082 Types Errors

Types

wildcard type '?' cannot be used in named return positions; use an unnamed return instead

When this occurs

This error is triggered when: wildcard type '?' cannot be used in named return positions; use an unnamed return instead

Example error message

error[E3082]: wildcard type '?' cannot be used in named return positions; use an unnamed return 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.