E3067 Types Errors

Types

argument %d of '%s' is passed to a '&' parameter; pass a mutable variable, not a literal or expression

When this occurs

This error is triggered when: argument %d of '%s' is passed to a '&' parameter; pass a mutable variable, not a literal or expression

Example error message

error[E3067]: argument %d of '%s' is passed to a '&' parameter; pass a mutable variable, not a literal or expression

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.