E3040 Types Errors

Types

'%s' returns %d values; use mut a, b = %s() to capture all of them

When this occurs

This error is triggered when: '%s' returns %d values; use mut a, b = %s() to capture all of them

Example error message

error[E3040]: '%s' returns %d values; use mut a, b = %s() to capture all of them

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.