blob: 701900bb0cd4be8d966b3ff8c084bd678f2b4a6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
A file wasn't found for an out-of-line module.
Erroneous code example:
```compile_fail,E0583
mod file_that_doesnt_exist; // error: file not found for module
fn main() {}
```
Please be sure that a file corresponding to the module exists. If you
want to use a module named `file_that_doesnt_exist`, you need to have a file
named `file_that_doesnt_exist.rs` or `file_that_doesnt_exist/mod.rs` in the
same directory.
|