S0148: unknown module
Generated from rellum-diagnostics/src/db.rs.
Explanation
A use declaration must name a module that the compiler can resolve. Standard library modules are known at compile time; user modules are resolved by the project loader.
Common causes
- misspelling a module name
- using a module that has not been added to the standard library
- using a user module before source module resolution is implemented
Canonical fixes
- use a known module name or remove the declaration
Before:
use nett
After:
use net
Code example
use nett