docs

You are reading the docs for v0.1.2. Nabi 0.1.2 is no longer supported. Latest release: v0.1.3 →

#E0030: unresolved import

A use names something that does not exist. Check the path: it starts at the package (pkg::), a dependency, or a standard library tier (std::, core::, bare::).

nabi
use std::fss;
error[E0030]: unresolved import: `std::fss` does not exist
  --> main.nabi:1:10
   |
 1 | use std::fss;
   |          ^^^

Fix the path:

nabi
use std::fs;

println(f"{fs::exists("no-such-file")}");
false

Related: E0027 cannot find value or function, E0035 module file problem

Found a mistake? Edit this page on GitHub. Last updated