{"action":"created","comment":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/comments/238081069","pull_request_review_id":180543391,"id":238081069,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODA4MTA2OQ==","diff_hunk":"@@ -160,7 +160,7 @@ fun Ty.isMovesByDefault(lookup: ImplLookup): Boolean =\n     when (this) {\n         is TyUnknown, is TyReference, is TyPointer, is TyFunction -> false\n         is TyTuple -> types.any { it.isMovesByDefault(lookup) }\n-        is TyTypeParameter -> parameter != TyTypeParameter.Self\n+        is TyTypeParameter -> parameter != TyTypeParameter.Self && lookup.isCopy(this).not()","path":"src/main/kotlin/org/rust/lang/core/types/ty/Ty.kt","position":5,"original_position":5,"commit_id":"526c1f34ae09d51595e49d2ffc1680a934991dfa","original_commit_id":"526c1f34ae09d51595e49d2ffc1680a934991dfa","user":{"login":"xpe","id":4576329,"node_id":"MDQ6VXNlcjQ1NzYzMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/4576329?v=4","gravatar_id":"","url":"https://api.github.com/users/xpe","html_url":"https://github.com/xpe","followers_url":"https://api.github.com/users/xpe/followers","following_url":"https://api.github.com/users/xpe/following{/other_user}","gists_url":"https://api.github.com/users/xpe/gists{/gist_id}","starred_url":"https://api.github.com/users/xpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xpe/subscriptions","organizations_url":"https://api.github.com/users/xpe/orgs","repos_url":"https://api.github.com/users/xpe/repos","events_url":"https://api.github.com/users/xpe/events{/privacy}","received_events_url":"https://api.github.com/users/xpe/received_events","type":"User","site_admin":false},"body":"An outsider's take here -- in most languages I've used, the `!` prefix is idiomatic. People read it as \"not <expression>\" -- it works out fine.","created_at":"2018-12-02T00:37:25Z","updated_at":"2018-12-02T00:37:25Z","html_url":"https://github.com/intellij-rust/intellij-rust/pull/3094#discussion_r238081069","pull_request_url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3094","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/comments/238081069"},"html":{"href":"https://github.com/intellij-rust/intellij-rust/pull/3094#discussion_r238081069"},"pull_request":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3094"}},"in_reply_to_id":237788258},"pull_request":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3094","id":234915937,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0OTE1OTM3","html_url":"https://github.com/intellij-rust/intellij-rust/pull/3094","diff_url":"https://github.com/intellij-rust/intellij-rust/pull/3094.diff","patch_url":"https://github.com/intellij-rust/intellij-rust/pull/3094.patch","issue_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/3094","number":3094,"state":"open","locked":false,"title":"TY: Fix isMovesByDefault on copyable type parameter","user":{"login":"ortem","id":4854600,"node_id":"MDQ6VXNlcjQ4NTQ2MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/4854600?v=4","gravatar_id":"","url":"https://api.github.com/users/ortem","html_url":"https://github.com/ortem","followers_url":"https://api.github.com/users/ortem/followers","following_url":"https://api.github.com/users/ortem/following{/other_user}","gists_url":"https://api.github.com/users/ortem/gists{/gist_id}","starred_url":"https://api.github.com/users/ortem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ortem/subscriptions","organizations_url":"https://api.github.com/users/ortem/orgs","repos_url":"https://api.github.com/users/ortem/repos","events_url":"https://api.github.com/users/ortem/events{/privacy}","received_events_url":"https://api.github.com/users/ortem/received_events","type":"User","site_admin":false},"body":"Fixes #3093 ","created_at":"2018-11-30T09:03:53Z","updated_at":"2018-12-02T00:37:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7f1876cc6bf883b437a7320340ddd012ce72ed3","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":[],"milestone":null,"commits_url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3094/commits","review_comments_url":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3094/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/3094/comments","statuses_url":"https://api.github.com/repos/intellij-rust/intellij-rust/statuses/526c1f34ae09d51595e49d2ffc1680a934991dfa","head":{"label":"ortem:borrowck-copy-fix","ref":"borrowck-copy-fix","sha":"526c1f34ae09d51595e49d2ffc1680a934991dfa","user":{"login":"ortem","id":4854600,"node_id":"MDQ6VXNlcjQ4NTQ2MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/4854600?v=4","gravatar_id":"","url":"https://api.github.com/users/ortem","html_url":"https://github.com/ortem","followers_url":"https://api.github.com/users/ortem/followers","following_url":"https://api.github.com/users/ortem/following{/other_user}","gists_url":"https://api.github.com/users/ortem/gists{/gist_id}","starred_url":"https://api.github.com/users/ortem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ortem/subscriptions","organizations_url":"https://api.github.com/users/ortem/orgs","repos_url":"https://api.github.com/users/ortem/repos","events_url":"https://api.github.com/users/ortem/events{/privacy}","received_events_url":"https://api.github.com/users/ortem/received_events","type":"User","site_admin":false},"repo":{"id":139466496,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk0NjY0OTY=","name":"intellij-rust","full_name":"ortem/intellij-rust","private":false,"owner":{"login":"ortem","id":4854600,"node_id":"MDQ6VXNlcjQ4NTQ2MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/4854600?v=4","gravatar_id":"","url":"https://api.github.com/users/ortem","html_url":"https://github.com/ortem","followers_url":"https://api.github.com/users/ortem/followers","following_url":"https://api.github.com/users/ortem/following{/other_user}","gists_url":"https://api.github.com/users/ortem/gists{/gist_id}","starred_url":"https://api.github.com/users/ortem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ortem/subscriptions","organizations_url":"https://api.github.com/users/ortem/orgs","repos_url":"https://api.github.com/users/ortem/repos","events_url":"https://api.github.com/users/ortem/events{/privacy}","received_events_url":"https://api.github.com/users/ortem/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ortem/intellij-rust","description":"Rust plugin for the IntelliJ Platform: https://intellij-rust.github.io/","fork":true,"url":"https://api.github.com/repos/ortem/intellij-rust","forks_url":"https://api.github.com/repos/ortem/intellij-rust/forks","keys_url":"https://api.github.com/repos/ortem/intellij-rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ortem/intellij-rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ortem/intellij-rust/teams","hooks_url":"https://api.github.com/repos/ortem/intellij-rust/hooks","issue_events_url":"https://api.github.com/repos/ortem/intellij-rust/issues/events{/number}","events_url":"https://api.github.com/repos/ortem/intellij-rust/events","assignees_url":"https://api.github.com/repos/ortem/intellij-rust/assignees{/user}","branches_url":"https://api.github.com/repos/ortem/intellij-rust/branches{/branch}","tags_url":"https://api.github.com/repos/ortem/intellij-rust/tags","blobs_url":"https://api.github.com/repos/ortem/intellij-rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ortem/intellij-rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ortem/intellij-rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/ortem/intellij-rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ortem/intellij-rust/statuses/{sha}","languages_url":"https://api.github.com/repos/ortem/intellij-rust/languages","stargazers_url":"https://api.github.com/repos/ortem/intellij-rust/stargazers","contributors_url":"https://api.github.com/repos/ortem/intellij-rust/contributors","subscribers_url":"https://api.github.com/repos/ortem/intellij-rust/subscribers","subscription_url":"https://api.github.com/repos/ortem/intellij-rust/subscription","commits_url":"https://api.github.com/repos/ortem/intellij-rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/ortem/intellij-rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/ortem/intellij-rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/ortem/intellij-rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/ortem/intellij-rust/contents/{+path}","compare_url":"https://api.github.com/repos/ortem/intellij-rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ortem/intellij-rust/merges","archive_url":"https://api.github.com/repos/ortem/intellij-rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ortem/intellij-rust/downloads","issues_url":"https://api.github.com/repos/ortem/intellij-rust/issues{/number}","pulls_url":"https://api.github.com/repos/ortem/intellij-rust/pulls{/number}","milestones_url":"https://api.github.com/repos/ortem/intellij-rust/milestones{/number}","notifications_url":"https://api.github.com/repos/ortem/intellij-rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ortem/intellij-rust/labels{/name}","releases_url":"https://api.github.com/repos/ortem/intellij-rust/releases{/id}","deployments_url":"https://api.github.com/repos/ortem/intellij-rust/deployments","created_at":"2018-07-02T16:18:39Z","updated_at":"2018-11-05T15:29:31Z","pushed_at":"2018-12-01T17:37:21Z","git_url":"git://github.com/ortem/intellij-rust.git","ssh_url":"git@github.com:ortem/intellij-rust.git","clone_url":"https://github.com/ortem/intellij-rust.git","svn_url":"https://github.com/ortem/intellij-rust","homepage":"","size":21813,"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,"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":"36314872638e79f4415571aba57bf94aa8f882d7","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":"2018-11-30T22:16:42Z","pushed_at":"2018-12-01T17:37:22Z","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":21551,"stargazers_count":2082,"watchers_count":2082,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":197,"mirror_url":null,"archived":false,"open_issues_count":350,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":197,"open_issues":350,"watchers":2082,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3094"},"html":{"href":"https://github.com/intellij-rust/intellij-rust/pull/3094"},"issue":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/3094"},"comments":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/3094/comments"},"review_comments":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/pulls/3094/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/3094/commits"},"statuses":{"href":"https://api.github.com/repos/intellij-rust/intellij-rust/statuses/526c1f34ae09d51595e49d2ffc1680a934991dfa"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"xpe"}}