Skip to content

Commit 906606d

Browse files
authored
Rollup merge of #119167 - alef:patch-1, r=compiler-errors
E0761: module directory has .rs suffix `rustc --explain E0761` example seems wrong.
2 parents d0d814f + 821fdde commit 906606d

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)