pub fn module_not_found(path: &[Ident], skip_package_name: bool) -> CompileError
Expand description
Create a ModuleNotFound error. If skip_package_name is true, then the package name is not emitted as part of the error message. This is used when the module was supposed to be found in the current package rather than in an external one.