E0761: module directory has .rs suffix

This commit is contained in:
alef 2023-12-20 17:05:56 +01:00 committed by GitHub
parent 8fca8295cb
commit 821fddeba5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.