{"action":"created","comment":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/comments/281026067","pull_request_review_id":233785016,"id":281026067,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4MTAyNjA2Nw==","diff_hunk":"@@ -31,7 +36,26 @@ class RemoveRefFix(\n         if (argEl.text != null && argEl.text[0] == '&') {\n             val offset = argEl.startOffset\n             val document = PsiDocumentManager.getInstance(project).getDocument(argEl.containingFile)\n-            document?.deleteString(offset, offset + 1)\n+\n+            // 1. If the reference is a mut one (&mut X) we want to remove the `mut` part too as `mut X` is either not","path":"src/main/kotlin/org/rust/ide/inspections/fixes/RemoveRefFix.kt","position":19,"original_position":19,"commit_id":"a6d1eeb8ff2c2f71cefe313aab72d54bb002a643","original_commit_id":"a6d1eeb8ff2c2f71cefe313aab72d54bb002a643","user":{"login":"mibac138","id":5672750,"node_id":"MDQ6VXNlcjU2NzI3NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5672750?v=4","gravatar_id":"","url":"https://api.github.com/users/mibac138","html_url":"https://github.com/mibac138","followers_url":"https://api.github.com/users/mibac138/followers","following_url":"https://api.github.com/users/mibac138/following{/other_user}","gists_url":"https://api.github.com/users/mibac138/gists{/gist_id}","starred_url":"https://api.github.com/users/mibac138/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mibac138/subscriptions","organizations_url":"https://api.github.com/users/mibac138/orgs","repos_url":"https://api.github.com/users/mibac138/repos","events_url":"https://api.github.com/users/mibac138/events{/privacy}","received_events_url":"https://api.github.com/users/mibac138/received_events","type":"User","site_admin":false},"body":"Thanks! Totally forgot I could just do that","created_at":"2019-05-05T15:10:05Z","updated_at":"2019-05-05T15:10:05Z","html_url":"https://github.com/intellij-rust/intellij-rust/pull/3788#discussion_r281026067","pull_request_url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3788","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/comments/281026067"},"html":{"href":"https://github.com/intellij-rust/intellij-rust/pull/3788#discussion_r281026067"},"pull_request":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3788"}},"in_reply_to_id":281014289},"pull_request":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3788","id":275927597,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc1OTI3NTk3","html_url":"https://github.com/intellij-rust/intellij-rust/pull/3788","diff_url":"https://github.com/intellij-rust/intellij-rust/pull/3788.diff","patch_url":"https://github.com/intellij-rust/intellij-rust/pull/3788.patch","issue_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/3788","number":3788,"state":"open","locked":false,"title":"INSP: Fix false positive for RsDropRefInspection","user":{"login":"mibac138","id":5672750,"node_id":"MDQ6VXNlcjU2NzI3NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5672750?v=4","gravatar_id":"","url":"https://api.github.com/users/mibac138","html_url":"https://github.com/mibac138","followers_url":"https://api.github.com/users/mibac138/followers","following_url":"https://api.github.com/users/mibac138/following{/other_user}","gists_url":"https://api.github.com/users/mibac138/gists{/gist_id}","starred_url":"https://api.github.com/users/mibac138/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mibac138/subscriptions","organizations_url":"https://api.github.com/users/mibac138/orgs","repos_url":"https://api.github.com/users/mibac138/repos","events_url":"https://api.github.com/users/mibac138/events{/privacy}","received_events_url":"https://api.github.com/users/mibac138/received_events","type":"User","site_admin":false},"body":"Fixes #3606","created_at":"2019-05-04T15:11:04Z","updated_at":"2019-05-05T15:10:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"015542df3df603300bdf5af602baaf99d41c3b03","assignee":{"login":"vlad20012","id":3221931,"node_id":"MDQ6VXNlcjMyMjE5MzE=","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},"assignees":[{"login":"vlad20012","id":3221931,"node_id":"MDQ6VXNlcjMyMjE5MzE=","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}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1175962880,"node_id":"MDU6TGFiZWwxMTc1OTYyODgw","url":"https://api.github.com/repos/intellij-rust/intellij-rust/labels/fix","name":"fix","color":"F91A16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3788/commits","review_comments_url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3788/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/3788/comments","statuses_url":"https://api.github.com/repos/intellij-rust/intellij-rust/statuses/a6d1eeb8ff2c2f71cefe313aab72d54bb002a643","head":{"label":"mibac138:drop-reference-fix","ref":"drop-reference-fix","sha":"a6d1eeb8ff2c2f71cefe313aab72d54bb002a643","user":{"login":"mibac138","id":5672750,"node_id":"MDQ6VXNlcjU2NzI3NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5672750?v=4","gravatar_id":"","url":"https://api.github.com/users/mibac138","html_url":"https://github.com/mibac138","followers_url":"https://api.github.com/users/mibac138/followers","following_url":"https://api.github.com/users/mibac138/following{/other_user}","gists_url":"https://api.github.com/users/mibac138/gists{/gist_id}","starred_url":"https://api.github.com/users/mibac138/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mibac138/subscriptions","organizations_url":"https://api.github.com/users/mibac138/orgs","repos_url":"https://api.github.com/users/mibac138/repos","events_url":"https://api.github.com/users/mibac138/events{/privacy}","received_events_url":"https://api.github.com/users/mibac138/received_events","type":"User","site_admin":false},"repo":{"id":183904849,"node_id":"MDEwOlJlcG9zaXRvcnkxODM5MDQ4NDk=","name":"intellij-rust","full_name":"mibac138/intellij-rust","private":false,"owner":{"login":"mibac138","id":5672750,"node_id":"MDQ6VXNlcjU2NzI3NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5672750?v=4","gravatar_id":"","url":"https://api.github.com/users/mibac138","html_url":"https://github.com/mibac138","followers_url":"https://api.github.com/users/mibac138/followers","following_url":"https://api.github.com/users/mibac138/following{/other_user}","gists_url":"https://api.github.com/users/mibac138/gists{/gist_id}","starred_url":"https://api.github.com/users/mibac138/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mibac138/subscriptions","organizations_url":"https://api.github.com/users/mibac138/orgs","repos_url":"https://api.github.com/users/mibac138/repos","events_url":"https://api.github.com/users/mibac138/events{/privacy}","received_events_url":"https://api.github.com/users/mibac138/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mibac138/intellij-rust","description":"Rust plugin for the IntelliJ Platform: https://intellij-rust.github.io/","fork":true,"url":"https://api.github.com/repos/mibac138/intellij-rust","forks_url":"https://api.github.com/repos/mibac138/intellij-rust/forks","keys_url":"https://api.github.com/repos/mibac138/intellij-rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mibac138/intellij-rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mibac138/intellij-rust/teams","hooks_url":"https://api.github.com/repos/mibac138/intellij-rust/hooks","issue_events_url":"https://api.github.com/repos/mibac138/intellij-rust/issues/events{/number}","events_url":"https://api.github.com/repos/mibac138/intellij-rust/events","assignees_url":"https://api.github.com/repos/mibac138/intellij-rust/assignees{/user}","branches_url":"https://api.github.com/repos/mibac138/intellij-rust/branches{/branch}","tags_url":"https://api.github.com/repos/mibac138/intellij-rust/tags","blobs_url":"https://api.github.com/repos/mibac138/intellij-rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mibac138/intellij-rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mibac138/intellij-rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/mibac138/intellij-rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mibac138/intellij-rust/statuses/{sha}","languages_url":"https://api.github.com/repos/mibac138/intellij-rust/languages","stargazers_url":"https://api.github.com/repos/mibac138/intellij-rust/stargazers","contributors_url":"https://api.github.com/repos/mibac138/intellij-rust/contributors","subscribers_url":"https://api.github.com/repos/mibac138/intellij-rust/subscribers","subscription_url":"https://api.github.com/repos/mibac138/intellij-rust/subscription","commits_url":"https://api.github.com/repos/mibac138/intellij-rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/mibac138/intellij-rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/mibac138/intellij-rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/mibac138/intellij-rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/mibac138/intellij-rust/contents/{+path}","compare_url":"https://api.github.com/repos/mibac138/intellij-rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mibac138/intellij-rust/merges","archive_url":"https://api.github.com/repos/mibac138/intellij-rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mibac138/intellij-rust/downloads","issues_url":"https://api.github.com/repos/mibac138/intellij-rust/issues{/number}","pulls_url":"https://api.github.com/repos/mibac138/intellij-rust/pulls{/number}","milestones_url":"https://api.github.com/repos/mibac138/intellij-rust/milestones{/number}","notifications_url":"https://api.github.com/repos/mibac138/intellij-rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mibac138/intellij-rust/labels{/name}","releases_url":"https://api.github.com/repos/mibac138/intellij-rust/releases{/id}","deployments_url":"https://api.github.com/repos/mibac138/intellij-rust/deployments","created_at":"2019-04-28T12:23:39Z","updated_at":"2019-05-04T15:16:43Z","pushed_at":"2019-05-05T03:19:28Z","git_url":"git://github.com/mibac138/intellij-rust.git","ssh_url":"git@github.com:mibac138/intellij-rust.git","clone_url":"https://github.com/mibac138/intellij-rust.git","svn_url":"https://github.com/mibac138/intellij-rust","homepage":"","size":23656,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"intellij-rust:master","ref":"master","sha":"3f96f1509a46d4a61bc933df4e070c1c7fdb8a4a","user":{"login":"intellij-rust","id":16057867,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDU3ODY3","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,"node_id":"MDEwOlJlcG9zaXRvcnk0MjYxOTQ4Nw==","name":"intellij-rust","full_name":"intellij-rust/intellij-rust","private":false,"owner":{"login":"intellij-rust","id":16057867,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MDU3ODY3","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},"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":"2019-05-05T10:51:58Z","pushed_at":"2019-05-05T03:19:29Z","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":23779,"stargazers_count":2370,"watchers_count":2370,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":225,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":479,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":225,"open_issues":479,"watchers":2370,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3788"},"html":{"href":"https://github.com/intellij-rust/intellij-rust/pull/3788"},"issue":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/3788"},"comments":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/3788/comments"},"review_comments":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3788/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/3788/commits"},"statuses":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/statuses/a6d1eeb8ff2c2f71cefe313aab72d54bb002a643"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mibac138"}}