E4012 Names Errors

Names

variable '%s' shadows a type definition with the same name

When this occurs

This error is triggered when: variable '%s' shadows a type definition with the same name

Example error message

error[E4012]: variable shadows a type definition

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.