{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/25260","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/25260/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/25260/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/25260/events","html_url":"https://github.com/rust-lang/rust/issues/25260","id":74831155,"number":25260,"title":"Incorrect \"error: private type in exported type signature\"","user":{"login":"Diggsey","id":451321,"avatar_url":"https://avatars.githubusercontent.com/u/451321?v=3","gravatar_id":"","url":"https://api.github.com/users/Diggsey","html_url":"https://github.com/Diggsey","followers_url":"https://api.github.com/users/Diggsey/followers","following_url":"https://api.github.com/users/Diggsey/following{/other_user}","gists_url":"https://api.github.com/users/Diggsey/gists{/gist_id}","starred_url":"https://api.github.com/users/Diggsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diggsey/subscriptions","organizations_url":"https://api.github.com/users/Diggsey/orgs","repos_url":"https://api.github.com/users/Diggsey/repos","events_url":"https://api.github.com/users/Diggsey/events{/privacy}","received_events_url":"https://api.github.com/users/Diggsey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-10T04:41:47Z","updated_at":"2015-05-10T04:41:47Z","closed_at":null,"body":"The following code will fail to compile:\r\n```rust\r\npub trait Test {\r\n    type Result;\r\n}\r\n\r\nmod Foo {\r\n    pub struct Ty;\r\n}\r\n\r\nstruct Bar;\r\n\r\nimpl Test for Foo::Ty {\r\n    type Result = Bar;\r\n}\r\n\r\nfn main() {\r\n}\r\n```\r\n\r\nWhen in fact no private types are exported."}}