E5029 Usage Errors

Usage

copy() cannot be used on a func reference; func references are compile-time aliases, not copyable values

When this occurs

This error is triggered when: copy() cannot be used on a func reference; func references are compile-time aliases, not copyable values

Example error message

error[E5029]: copy() cannot be used on a func reference; func references are compile-time aliases, not copyable values

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.