1 An import was unresolved.
3 Erroneous code example:
6 use something::Foo; // error: unresolved import `something::Foo`.
9 Paths in `use` statements are relative to the crate root. To import items
10 relative to the current and parent modules, use the `self::` and `super::`
11 prefixes, respectively. Also verify that you didn't misspell the import
12 name and that the import exists in the module from where you tried to
16 use self::something::Foo; // ok!
24 Or, if you tried to use a module from an external crate, you may have missed
25 the `extern crate` declaration (which is usually placed in the crate root):
28 extern crate core; // Required to use the `core` crate