{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/29319","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/29319/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/29319/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/29319/events","html_url":"https://github.com/rust-lang/rust/issues/29319","id":113330221,"number":29319,"title":"Rustdoc get confused by multiple level of re-exporting.","user":{"login":"Luthaf","id":6141587,"avatar_url":"https://avatars.githubusercontent.com/u/6141587?v=3","gravatar_id":"","url":"https://api.github.com/users/Luthaf","html_url":"https://github.com/Luthaf","followers_url":"https://api.github.com/users/Luthaf/followers","following_url":"https://api.github.com/users/Luthaf/following{/other_user}","gists_url":"https://api.github.com/users/Luthaf/gists{/gist_id}","starred_url":"https://api.github.com/users/Luthaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luthaf/subscriptions","organizations_url":"https://api.github.com/users/Luthaf/orgs","repos_url":"https://api.github.com/users/Luthaf/repos","events_url":"https://api.github.com/users/Luthaf/events{/privacy}","received_events_url":"https://api.github.com/users/Luthaf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-rustdoc","name":"A-rustdoc","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-26T10:52:24Z","updated_at":"2015-10-26T19:43:37Z","closed_at":null,"body":"Using the following code, \r\n\r\n```rust\r\nmod foo {\r\n    mod bar {\r\n        /// the Baz struct\r\n        pub struct Baz;\r\n    }\r\n    pub use self::bar::Baz;\r\n}\r\n\r\npub use foo::*;\r\n```\r\n\r\n`rustdoc` produce this output:\r\n\r\n![capture d ecran de 2015-10-26 11 40 08](https://cloud.githubusercontent.com/assets/6141587/10727034/11826c66-7bd7-11e5-85ff-3e851e42b2f4.png)\r\n\r\nWith no link to `Baz`, and the link to `bar` leading to a blank page.\r\n\r\nChanging `pub use foo::*;` to `pub use foo::Baz;` still produce a wrong ouptut:\r\n\r\n![capture d ecran de 2015-10-26 11 49 26](https://cloud.githubusercontent.com/assets/6141587/10727135/ca7aa4b8-7bd7-11e5-99d9-81ac43b21ea2.png)\r\n\r\n\r\n\r\n#### Meta: \r\n\r\n```\r\n$ rustdoc --version\r\nrustdoc 1.3.0 (9a92aaf19 2015-09-15)\r\n$ rustc --version \r\nrustc 1.3.0 (9a92aaf19 2015-09-15)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/151261906","html_url":"https://github.com/rust-lang/rust/issues/29319#issuecomment-151261906","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/29319","id":151261906,"user":{"login":"nagisa","id":679122,"avatar_url":"https://avatars.githubusercontent.com/u/679122?v=3","gravatar_id":"","url":"https://api.github.com/users/nagisa","html_url":"https://github.com/nagisa","followers_url":"https://api.github.com/users/nagisa/followers","following_url":"https://api.github.com/users/nagisa/following{/other_user}","gists_url":"https://api.github.com/users/nagisa/gists{/gist_id}","starred_url":"https://api.github.com/users/nagisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagisa/subscriptions","organizations_url":"https://api.github.com/users/nagisa/orgs","repos_url":"https://api.github.com/users/nagisa/repos","events_url":"https://api.github.com/users/nagisa/events{/privacy}","received_events_url":"https://api.github.com/users/nagisa/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T19:43:37Z","updated_at":"2015-10-26T19:43:37Z","body":"cc https://github.com/rust-lang/rust/issues/24305"}}