本页尚未翻译,以下为英文原文。
#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