We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a22a0f commit c73d4cdCopy full SHA for c73d4cd
src/librustc_error_codes/error_codes/E0761.md
@@ -2,24 +2,20 @@ Multiple candidate files were found for an out-of-line module.
2
3
Erroneous code example:
4
5
-```rust
+```ignore (multiple source files required for compile_fail)
6
// file: ambiguous_module/mod.rs
7
8
fn foo() {}
9
-```
10
11
12
// file: ambiguous_module.rs
13
14
15
16
17
-```ignore (multiple source files required for compile_fail)
+// file: lib.rs
+
18
mod ambiguous_module; // error: file for module `ambiguous_module`
19
// found at both ambiguous_module.rs and
20
// ambiguous_module.rs/mod.rs
21
-
22
-fn main() {}
23
```
24
25
Please remove this ambiguity by deleting/renaming one of the candidate files.
0 commit comments