{"action":"created","comment":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/comments/169186234","pull_request_review_id":97670899,"id":169186234,"diff_hunk":"@@ -1167,6 +1168,35 @@ private fun RsStubLiteralType?.serialize(dataStream: StubOutputStream) {\n     }\n }\n \n+\n+class RsAssocTypeBindingStub(\n+    parent: StubElement<*>?, elementType: IStubElementType<*, *>,\n+    override val name: String?\n+) : StubBase<RsAssocTypeBinding>(parent, elementType),\n+    RsNamedStub {\n+\n+    object Type : RsStubElementType<RsAssocTypeBindingStub, RsAssocTypeBinding>(\"ASSOC_TYPE_BINDING\") {\n+        override fun deserialize(dataStream: StubInputStream, parentStub: StubElement<*>?) =\n+            RsAssocTypeBindingStub(parentStub, this,\n+                dataStream.readNameAsString()\n+            )\n+\n+        override fun serialize(stub: RsAssocTypeBindingStub, dataStream: StubOutputStream) =\n+            with(dataStream) {\n+                writeName(stub.name)\n+            }\n+\n+        override fun createPsi(stub: RsAssocTypeBindingStub): RsAssocTypeBinding =\n+            RsAssocTypeBindingImpl(stub, this)\n+\n+        override fun createStub(psi: RsAssocTypeBinding, parentStub: StubElement<*>?) =\n+            RsAssocTypeBindingStub(parentStub, this, psi.identifier.text)\n+\n+\n+        override fun indexStub(stub: RsAssocTypeBindingStub, sink: IndexSink) {}","path":"src/main/kotlin/org/rust/lang/core/stubs/StubImplementations.kt","position":46,"original_position":46,"commit_id":"32a2004b3f73fda8154056fd9a53e21c41b26ce5","original_commit_id":"32a2004b3f73fda8154056fd9a53e21c41b26ce5","user":{"login":"Undin","id":2539310,"avatar_url":"https://avatars0.githubusercontent.com/u/2539310?v=4","gravatar_id":"","url":"https://api.github.com/users/Undin","html_url":"https://github.com/Undin","followers_url":"https://api.github.com/users/Undin/followers","following_url":"https://api.github.com/users/Undin/following{/other_user}","gists_url":"https://api.github.com/users/Undin/gists{/gist_id}","starred_url":"https://api.github.com/users/Undin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Undin/subscriptions","organizations_url":"https://api.github.com/users/Undin/orgs","repos_url":"https://api.github.com/users/Undin/repos","events_url":"https://api.github.com/users/Undin/events{/privacy}","received_events_url":"https://api.github.com/users/Undin/received_events","type":"User","site_admin":false},"body":"You can drop this method because `RsStubElementType` already has default empty implementation","created_at":"2018-02-19T22:58:17Z","updated_at":"2018-02-19T23:03:58Z","html_url":"https://github.com/intellij-rust/intellij-rust/pull/2306#discussion_r169186234","pull_request_url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/2306","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/comments/169186234"},"html":{"href":"https://github.com/intellij-rust/intellij-rust/pull/2306#discussion_r169186234"},"pull_request":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/2306"}}},"pull_request":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/2306","id":169961551,"html_url":"https://github.com/intellij-rust/intellij-rust/pull/2306","diff_url":"https://github.com/intellij-rust/intellij-rust/pull/2306.diff","patch_url":"https://github.com/intellij-rust/intellij-rust/pull/2306.patch","issue_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2306","number":2306,"state":"open","locked":false,"title":"TY: Support associated type bindings","user":{"login":"vlad20012","id":3221931,"avatar_url":"https://avatars2.githubusercontent.com/u/3221931?v=4","gravatar_id":"","url":"https://api.github.com/users/vlad20012","html_url":"https://github.com/vlad20012","followers_url":"https://api.github.com/users/vlad20012/followers","following_url":"https://api.github.com/users/vlad20012/following{/other_user}","gists_url":"https://api.github.com/users/vlad20012/gists{/gist_id}","starred_url":"https://api.github.com/users/vlad20012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlad20012/subscriptions","organizations_url":"https://api.github.com/users/vlad20012/orgs","repos_url":"https://api.github.com/users/vlad20012/repos","events_url":"https://api.github.com/users/vlad20012/events{/privacy}","received_events_url":"https://api.github.com/users/vlad20012/received_events","type":"User","site_admin":false},"body":"We now support this stuff:\r\n```rust\r\n        trait Tr { type Item; }\r\n\r\n        fn foo<B: Tr<Item=u8>>(_: B) {\r\n            let a: B::Item = 0;\r\n            a;\r\n        } //^ u8\r\n```\r\n\r\nAnd it's even don't affect performance because of #2287 ","created_at":"2018-02-19T13:33:40Z","updated_at":"2018-02-19T23:03:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25bd9be5cb1b2c2505b7637b3d41fdbd337b6c52","assignee":{"login":"Undin","id":2539310,"avatar_url":"https://avatars0.githubusercontent.com/u/2539310?v=4","gravatar_id":"","url":"https://api.github.com/users/Undin","html_url":"https://github.com/Undin","followers_url":"https://api.github.com/users/Undin/followers","following_url":"https://api.github.com/users/Undin/following{/other_user}","gists_url":"https://api.github.com/users/Undin/gists{/gist_id}","starred_url":"https://api.github.com/users/Undin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Undin/subscriptions","organizations_url":"https://api.github.com/users/Undin/orgs","repos_url":"https://api.github.com/users/Undin/repos","events_url":"https://api.github.com/users/Undin/events{/privacy}","received_events_url":"https://api.github.com/users/Undin/received_events","type":"User","site_admin":false},"assignees":[{"login":"Undin","id":2539310,"avatar_url":"https://avatars0.githubusercontent.com/u/2539310?v=4","gravatar_id":"","url":"https://api.github.com/users/Undin","html_url":"https://github.com/Undin","followers_url":"https://api.github.com/users/Undin/followers","following_url":"https://api.github.com/users/Undin/following{/other_user}","gists_url":"https://api.github.com/users/Undin/gists{/gist_id}","starred_url":"https://api.github.com/users/Undin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Undin/subscriptions","organizations_url":"https://api.github.com/users/Undin/orgs","repos_url":"https://api.github.com/users/Undin/repos","events_url":"https://api.github.com/users/Undin/events{/privacy}","received_events_url":"https://api.github.com/users/Undin/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/2306/commits","review_comments_url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/2306/comments","review_comment_url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2306/comments","statuses_url":"https://api.github.com/repos/intellij-rust/intellij-rust/statuses/32a2004b3f73fda8154056fd9a53e21c41b26ce5","head":{"label":"vlad20012:assoc-type-bingings","ref":"assoc-type-bingings","sha":"32a2004b3f73fda8154056fd9a53e21c41b26ce5","user":{"login":"vlad20012","id":3221931,"avatar_url":"https://avatars2.githubusercontent.com/u/3221931?v=4","gravatar_id":"","url":"https://api.github.com/users/vlad20012","html_url":"https://github.com/vlad20012","followers_url":"https://api.github.com/users/vlad20012/followers","following_url":"https://api.github.com/users/vlad20012/following{/other_user}","gists_url":"https://api.github.com/users/vlad20012/gists{/gist_id}","starred_url":"https://api.github.com/users/vlad20012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlad20012/subscriptions","organizations_url":"https://api.github.com/users/vlad20012/orgs","repos_url":"https://api.github.com/users/vlad20012/repos","events_url":"https://api.github.com/users/vlad20012/events{/privacy}","received_events_url":"https://api.github.com/users/vlad20012/received_events","type":"User","site_admin":false},"repo":{"id":87717849,"name":"intellij-rust","full_name":"vlad20012/intellij-rust","owner":{"login":"vlad20012","id":3221931,"avatar_url":"https://avatars2.githubusercontent.com/u/3221931?v=4","gravatar_id":"","url":"https://api.github.com/users/vlad20012","html_url":"https://github.com/vlad20012","followers_url":"https://api.github.com/users/vlad20012/followers","following_url":"https://api.github.com/users/vlad20012/following{/other_user}","gists_url":"https://api.github.com/users/vlad20012/gists{/gist_id}","starred_url":"https://api.github.com/users/vlad20012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlad20012/subscriptions","organizations_url":"https://api.github.com/users/vlad20012/orgs","repos_url":"https://api.github.com/users/vlad20012/repos","events_url":"https://api.github.com/users/vlad20012/events{/privacy}","received_events_url":"https://api.github.com/users/vlad20012/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vlad20012/intellij-rust","description":"Rust IDE built using the IntelliJ Platform: https://intellij-rust.github.io/","fork":true,"url":"https://api.github.com/repos/vlad20012/intellij-rust","forks_url":"https://api.github.com/repos/vlad20012/intellij-rust/forks","keys_url":"https://api.github.com/repos/vlad20012/intellij-rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vlad20012/intellij-rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vlad20012/intellij-rust/teams","hooks_url":"https://api.github.com/repos/vlad20012/intellij-rust/hooks","issue_events_url":"https://api.github.com/repos/vlad20012/intellij-rust/issues/events{/number}","events_url":"https://api.github.com/repos/vlad20012/intellij-rust/events","assignees_url":"https://api.github.com/repos/vlad20012/intellij-rust/assignees{/user}","branches_url":"https://api.github.com/repos/vlad20012/intellij-rust/branches{/branch}","tags_url":"https://api.github.com/repos/vlad20012/intellij-rust/tags","blobs_url":"https://api.github.com/repos/vlad20012/intellij-rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vlad20012/intellij-rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vlad20012/intellij-rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/vlad20012/intellij-rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vlad20012/intellij-rust/statuses/{sha}","languages_url":"https://api.github.com/repos/vlad20012/intellij-rust/languages","stargazers_url":"https://api.github.com/repos/vlad20012/intellij-rust/stargazers","contributors_url":"https://api.github.com/repos/vlad20012/intellij-rust/contributors","subscribers_url":"https://api.github.com/repos/vlad20012/intellij-rust/subscribers","subscription_url":"https://api.github.com/repos/vlad20012/intellij-rust/subscription","commits_url":"https://api.github.com/repos/vlad20012/intellij-rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/vlad20012/intellij-rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/vlad20012/intellij-rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/vlad20012/intellij-rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/vlad20012/intellij-rust/contents/{+path}","compare_url":"https://api.github.com/repos/vlad20012/intellij-rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vlad20012/intellij-rust/merges","archive_url":"https://api.github.com/repos/vlad20012/intellij-rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vlad20012/intellij-rust/downloads","issues_url":"https://api.github.com/repos/vlad20012/intellij-rust/issues{/number}","pulls_url":"https://api.github.com/repos/vlad20012/intellij-rust/pulls{/number}","milestones_url":"https://api.github.com/repos/vlad20012/intellij-rust/milestones{/number}","notifications_url":"https://api.github.com/repos/vlad20012/intellij-rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vlad20012/intellij-rust/labels{/name}","releases_url":"https://api.github.com/repos/vlad20012/intellij-rust/releases{/id}","deployments_url":"https://api.github.com/repos/vlad20012/intellij-rust/deployments","created_at":"2017-04-09T15:17:40Z","updated_at":"2017-08-05T08:08:26Z","pushed_at":"2018-02-19T15:42:22Z","git_url":"git://github.com/vlad20012/intellij-rust.git","ssh_url":"git@github.com:vlad20012/intellij-rust.git","clone_url":"https://github.com/vlad20012/intellij-rust.git","svn_url":"https://github.com/vlad20012/intellij-rust","homepage":"","size":18707,"stargazers_count":1,"watchers_count":1,"language":"Kotlin","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"intellij-rust:master","ref":"master","sha":"ee99b10db8fd171399162c634d06c50214afba14","user":{"login":"intellij-rust","id":16057867,"avatar_url":"https://avatars0.githubusercontent.com/u/16057867?v=4","gravatar_id":"","url":"https://api.github.com/users/intellij-rust","html_url":"https://github.com/intellij-rust","followers_url":"https://api.github.com/users/intellij-rust/followers","following_url":"https://api.github.com/users/intellij-rust/following{/other_user}","gists_url":"https://api.github.com/users/intellij-rust/gists{/gist_id}","starred_url":"https://api.github.com/users/intellij-rust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intellij-rust/subscriptions","organizations_url":"https://api.github.com/users/intellij-rust/orgs","repos_url":"https://api.github.com/users/intellij-rust/repos","events_url":"https://api.github.com/users/intellij-rust/events{/privacy}","received_events_url":"https://api.github.com/users/intellij-rust/received_events","type":"Organization","site_admin":false},"repo":{"id":42619487,"name":"intellij-rust","full_name":"intellij-rust/intellij-rust","owner":{"login":"intellij-rust","id":16057867,"avatar_url":"https://avatars0.githubusercontent.com/u/16057867?v=4","gravatar_id":"","url":"https://api.github.com/users/intellij-rust","html_url":"https://github.com/intellij-rust","followers_url":"https://api.github.com/users/intellij-rust/followers","following_url":"https://api.github.com/users/intellij-rust/following{/other_user}","gists_url":"https://api.github.com/users/intellij-rust/gists{/gist_id}","starred_url":"https://api.github.com/users/intellij-rust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intellij-rust/subscriptions","organizations_url":"https://api.github.com/users/intellij-rust/orgs","repos_url":"https://api.github.com/users/intellij-rust/repos","events_url":"https://api.github.com/users/intellij-rust/events{/privacy}","received_events_url":"https://api.github.com/users/intellij-rust/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intellij-rust/intellij-rust","description":"Rust plugin for the IntelliJ Platform: https://intellij-rust.github.io/","fork":false,"url":"https://api.github.com/repos/intellij-rust/intellij-rust","forks_url":"https://api.github.com/repos/intellij-rust/intellij-rust/forks","keys_url":"https://api.github.com/repos/intellij-rust/intellij-rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intellij-rust/intellij-rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intellij-rust/intellij-rust/teams","hooks_url":"https://api.github.com/repos/intellij-rust/intellij-rust/hooks","issue_events_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/events{/number}","events_url":"https://api.github.com/repos/intellij-rust/intellij-rust/events","assignees_url":"https://api.github.com/repos/intellij-rust/intellij-rust/assignees{/user}","branches_url":"https://api.github.com/repos/intellij-rust/intellij-rust/branches{/branch}","tags_url":"https://api.github.com/repos/intellij-rust/intellij-rust/tags","blobs_url":"https://api.github.com/repos/intellij-rust/intellij-rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intellij-rust/intellij-rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intellij-rust/intellij-rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/intellij-rust/intellij-rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intellij-rust/intellij-rust/statuses/{sha}","languages_url":"https://api.github.com/repos/intellij-rust/intellij-rust/languages","stargazers_url":"https://api.github.com/repos/intellij-rust/intellij-rust/stargazers","contributors_url":"https://api.github.com/repos/intellij-rust/intellij-rust/contributors","subscribers_url":"https://api.github.com/repos/intellij-rust/intellij-rust/subscribers","subscription_url":"https://api.github.com/repos/intellij-rust/intellij-rust/subscription","commits_url":"https://api.github.com/repos/intellij-rust/intellij-rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/intellij-rust/intellij-rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/intellij-rust/intellij-rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/intellij-rust/intellij-rust/contents/{+path}","compare_url":"https://api.github.com/repos/intellij-rust/intellij-rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intellij-rust/intellij-rust/merges","archive_url":"https://api.github.com/repos/intellij-rust/intellij-rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intellij-rust/intellij-rust/downloads","issues_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues{/number}","pulls_url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls{/number}","milestones_url":"https://api.github.com/repos/intellij-rust/intellij-rust/milestones{/number}","notifications_url":"https://api.github.com/repos/intellij-rust/intellij-rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intellij-rust/intellij-rust/labels{/name}","releases_url":"https://api.github.com/repos/intellij-rust/intellij-rust/releases{/id}","deployments_url":"https://api.github.com/repos/intellij-rust/intellij-rust/deployments","created_at":"2015-09-16T23:44:57Z","updated_at":"2018-02-19T16:56:58Z","pushed_at":"2018-02-19T17:48:32Z","git_url":"git://github.com/intellij-rust/intellij-rust.git","ssh_url":"git@github.com:intellij-rust/intellij-rust.git","clone_url":"https://github.com/intellij-rust/intellij-rust.git","svn_url":"https://github.com/intellij-rust/intellij-rust","homepage":"","size":18683,"stargazers_count":1655,"watchers_count":1655,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":150,"mirror_url":null,"archived":false,"open_issues_count":265,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":150,"open_issues":265,"watchers":1655,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/2306"},"html":{"href":"https://github.com/intellij-rust/intellij-rust/pull/2306"},"issue":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2306"},"comments":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2306/comments"},"review_comments":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/2306/comments"},"review_comment":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/2306/commits"},"statuses":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/statuses/32a2004b3f73fda8154056fd9a53e21c41b26ce5"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Undin"}}