blob: 975f967d0e17368045c2c8ab231b7685bb57142f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Multiple candidate files were found for an out-of-line module.
Erroneous code example:
```ignore (Multiple source files are required for compile_fail.)
// file: ambiguous_module/mod.rs
fn foo() {}
// file: ambiguous_module.rs
fn foo() {}
// file: lib.rs
mod ambiguous_module; // error: file for module `ambiguous_module`
// found at both ambiguous_module.rs and
// ambiguous_module/mod.rs
```
Please remove this ambiguity by deleting/renaming one of the candidate files.
|