{"action":"opened","issue":{"url":"https://api.github.com/repos/servo/rust-bindgen/issues/308","repository_url":"https://api.github.com/repos/servo/rust-bindgen","labels_url":"https://api.github.com/repos/servo/rust-bindgen/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/servo/rust-bindgen/issues/308/comments","events_url":"https://api.github.com/repos/servo/rust-bindgen/issues/308/events","html_url":"https://github.com/servo/rust-bindgen/issues/308","id":192897711,"number":308,"title":"With --enable-cxx-namespaces, can't use bindings in submodule within crate","user":{"login":"fitzgen","id":74571,"avatar_url":"https://avatars.githubusercontent.com/u/74571?v=3","gravatar_id":"","url":"https://api.github.com/users/fitzgen","html_url":"https://github.com/fitzgen","followers_url":"https://api.github.com/users/fitzgen/followers","following_url":"https://api.github.com/users/fitzgen/following{/other_user}","gists_url":"https://api.github.com/users/fitzgen/gists{/gist_id}","starred_url":"https://api.github.com/users/fitzgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fitzgen/subscriptions","organizations_url":"https://api.github.com/users/fitzgen/orgs","repos_url":"https://api.github.com/users/fitzgen/repos","events_url":"https://api.github.com/users/fitzgen/events{/privacy}","received_events_url":"https://api.github.com/users/fitzgen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-01T16:38:22Z","updated_at":"2016-12-01T16:38:22Z","closed_at":null,"body":"Or else the various `use root;` statements don't match the path they need to, which would be `use self::root;` I think.\r\n\r\nThis is rather frustrating, and means I have to use `include!(bindings.rs)` in the crate's `lib.rs` instead of `mod bindings;` to maintain some semblance of file tidiness/separation.\r\n\r\nI am unsure what a fix would look like. Ideas?"}}
{"actor":{"display_login":"fitzgen"}}