Closed
Description
As part of #2176 I removed directory modules from the language. As a result, crates make heavy use of #[path]
to create directory structure.
We probably do want to have some directory convention that rustc understands.
Here's one idea: the mod foo;
statement continues to be the only way to load external modules. The parser looks for foo.rs
and foo/mod.rs
. If either exists then it loads it, otherwise error.
This assumes that we like the mod.rs
convention. I haven't decided yet.