-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-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.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
cargo new app
src/lib.rs: mod f;
src/f/mod.rs: f
cargo build
error: expected one of `!` or `::`, found `<eof>`
--> src\f/mod.rs:1:1
It must be src\f \ mod.rs, but it is src\f / mod.rs
src/f/mod.rs: mod g;
src/f/g/mod.rs: g
cargo build
error: expected one of `!` or `::`, found `<eof>`
--> src\f\g/mod.rs:1:1
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-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.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.