{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/889","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/889/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/889/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/889/events","html_url":"https://github.com/rust-lang/rfcs/issues/889","id":58270219,"number":889,"title":"circular imports with globs","user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-19T21:10:26Z","updated_at":"2015-09-08T18:03:55Z","closed_at":"2015-09-08T18:03:55Z","body":"<a href=\"https://github.com/jesse99\"><img src=\"https://avatars.githubusercontent.com/u/425055?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [jesse99](https://github.com/jesse99)**\n_Sunday Sep 02, 2012 at 20:51 GMT_\n\n_For earlier discussion, see https://github.com/rust-lang/rust/issues/3352_\n\n_This issue was labelled with: A-linkage, I-nominated, P-low in the Rust repository_\n\n----\n\nGiven 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.\n\nIf, 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.\n"}}