Skip to content

Commit

Permalink
Rollup merge of #119167 - alef:patch-1, r=compiler-errors
Browse files Browse the repository at this point in the history
E0761: module directory has .rs suffix

`rustc --explain E0761` example seems wrong.
  • Loading branch information
matthiaskrgr authored Dec 20, 2023
2 parents d0d814f + 821fdde commit 906606d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_error_codes/src/error_codes/E0761.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn foo() {}
mod ambiguous_module; // error: file for module `ambiguous_module`
// found at both ambiguous_module.rs and
// ambiguous_module.rs/mod.rs
// ambiguous_module/mod.rs
```

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

0 comments on commit 906606d

Please sign in to comment.