Rollup merge of #119167 - alef:patch-1, r=compiler-errors
E0761: module directory has .rs suffix `rustc --explain E0761` example seems wrong.
This commit is contained in:
commit
906606d5a3
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user