Closed
Description
Issue by jesse99
Sunday Sep 02, 2012 at 20:51 GMT
For earlier discussion, see rust-lang/rust#3352
This issue was labelled with: A-linkage, I-nominated, P-low in the Rust repository
Given that a crate is the unit of compilation it seems both silly and annoying to not be able to have modules within a crate use each other.
If, for some reason, this is not fixed then the error message should be. It's currently "failed to resolve imports" which provides essentially no insight into where the problem is. Identifying a circular import given that does not sound like fun at all, especially in a large project where the circular imports could be indirect.
Metadata
Metadata
Assignees
Labels
No labels