-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
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.
Metadata
Metadata
Assignees
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.