Skip to content

Commit 4872c74

Browse files
authored
Unrolled build for rust-lang#119167
Rollup merge of rust-lang#119167 - alef:patch-1, r=compiler-errors E0761: module directory has .rs suffix `rustc --explain E0761` example seems wrong.
2 parents 5ac4c8a + 821fdde commit 4872c74

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+1
-1
lines changed

compiler/rustc_error_codes/src/error_codes/E0761.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn foo() {}
1515
1616
mod ambiguous_module; // error: file for module `ambiguous_module`
1717
// found at both ambiguous_module.rs and
18-
// ambiguous_module.rs/mod.rs
18+
// ambiguous_module/mod.rs
1919
```
2020

2121
Please remove this ambiguity by deleting/renaming one of the candidate files.

0 commit comments

Comments
 (0)