{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/24417","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/24417/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/24417/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/24417/events","html_url":"https://github.com/rust-lang/rust/issues/24417","id":68391619,"number":24417,"title":"rustdoc: Generates wrong signature for function with associated type parameter","user":{"login":"mbudde","id":50261,"avatar_url":"https://avatars.githubusercontent.com/u/50261?v=3","gravatar_id":"","url":"https://api.github.com/users/mbudde","html_url":"https://github.com/mbudde","followers_url":"https://api.github.com/users/mbudde/followers","following_url":"https://api.github.com/users/mbudde/following{/other_user}","gists_url":"https://api.github.com/users/mbudde/gists{/gist_id}","starred_url":"https://api.github.com/users/mbudde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbudde/subscriptions","organizations_url":"https://api.github.com/users/mbudde/orgs","repos_url":"https://api.github.com/users/mbudde/repos","events_url":"https://api.github.com/users/mbudde/events{/privacy}","received_events_url":"https://api.github.com/users/mbudde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-14T14:25:55Z","updated_at":"2015-04-14T14:25:55Z","closed_at":null,"body":"Create a library with the following `src/lib.rs`:\r\n```rust\r\npub trait SomeTrait {\r\n    type Typ;\r\n}\r\n\r\npub struct Foo<T> {\r\n    bar: T\r\n}\r\n\r\nimpl<T: SomeTrait> Foo<T> {\r\n    pub fn foo(&self, bar: T::Typ) {}\r\n}\r\n```\r\nand run `cargo doc`. The documentation will show the type of `Foo::foo` as `fn foo(&self, bar: T)` and not `fn foo(&self, bar: T::Typ)` as expected.\r\n\r\n`rustdoc 1.0.0-beta (9854143cb 2015-04-02) (built 2015-04-02)`"}}