E3101 Types Errors

Types

func reference variables must be declared with 'const', not 'mut'; func references are compile-time aliases

When this occurs

This error is triggered when: func reference variables must be declared with 'const', not 'mut'; func references are compile-time aliases

Example error message

error[E3101]: func reference variables must be declared with 'const', not 'mut'; func references are compile-time aliases

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.