E6009 Import Errors

private-access-denied

cannot access private member from outside module

When this occurs

Accessing private (unexported) member from another module

Example error message

error[E6009]: cannot access private member 'helper' from outside module 'utils'

How to fix

Private members (lowercase names) cannot be accessed from outside the module. Use exported members instead.

Related errors