Error code E0425
An unresolved name was used.
Erroneous code examples:
ⓘ
Please verify that the name wasn't misspelled and ensure that the identifier being referred to is valid for the given situation. Example:
Or:
Or:
If the item is not defined in the current module, it must be imported using a
use
statement, like so:
If the item you are importing is not defined in some super-module of the
current module, then it must also be declared as public (e.g., pub fn
).