{"action":"created","comment":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/comments/33171471","id":33171471,"diff_hunk":"@@ -1640,7 +1640,8 @@ register_diagnostics! {\n     E0323, // implemented an associated const when another trait item expected\n     E0324, // implemented a method when another trait item expected\n     E0325, // implemented an associated type when another trait item expected\n-    E0327, // referred to method instead of constant in match pattern\n+    //E0327, // referred to method instead of constant in match pattern","path":"src/librustc_typeck/diagnostics.rs","position":5,"original_position":5,"commit_id":"6a44ae3e75567ca575bb962d8585b2a50f2b4ce6","original_commit_id":"6a44ae3e75567ca575bb962d8585b2a50f2b4ce6","user":{"login":"nagisa","id":679122,"avatar_url":"https://avatars.githubusercontent.com/u/679122?v=3","gravatar_id":"","url":"https://api.github.com/users/nagisa","html_url":"https://github.com/nagisa","followers_url":"https://api.github.com/users/nagisa/followers","following_url":"https://api.github.com/users/nagisa/following{/other_user}","gists_url":"https://api.github.com/users/nagisa/gists{/gist_id}","starred_url":"https://api.github.com/users/nagisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagisa/subscriptions","organizations_url":"https://api.github.com/users/nagisa/orgs","repos_url":"https://api.github.com/users/nagisa/repos","events_url":"https://api.github.com/users/nagisa/events{/privacy}","received_events_url":"https://api.github.com/users/nagisa/received_events","type":"User","site_admin":false},"body":"I believe the codes themselves should never be removed (or commented out, because then error uniqueness check won’t fire), but I’m fine with adding a comment about this code being for an unreachable error. At least I couldn’t find a way to make this error code to be fired.","created_at":"2015-06-24T17:16:08Z","updated_at":"2015-06-24T17:16:08Z","html_url":"https://github.com/rust-lang/rust/pull/26545#discussion_r33171471","pull_request_url":"https://api.github.com/repos/rust-lang/rust/pulls/26545","_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments/33171471"},"html":{"href":"https://github.com/rust-lang/rust/pull/26545#discussion_r33171471"},"pull_request":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/26545"}}},"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/26545","id":38463918,"html_url":"https://github.com/rust-lang/rust/pull/26545","diff_url":"https://github.com/rust-lang/rust/pull/26545.diff","patch_url":"https://github.com/rust-lang/rust/pull/26545.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/26545","number":26545,"state":"open","locked":false,"title":"Comment out unreachable error code","user":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"body":"cc @nagisa\r\ncc @michaelsproul","created_at":"2015-06-24T16:59:34Z","updated_at":"2015-06-24T17:16:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"342894c891b69b13103e1e5eb7f5bd57a5fa8402","assignee":{"login":"brson","id":147214,"avatar_url":"https://avatars.githubusercontent.com/u/147214?v=3","gravatar_id":"","url":"https://api.github.com/users/brson","html_url":"https://github.com/brson","followers_url":"https://api.github.com/users/brson/followers","following_url":"https://api.github.com/users/brson/following{/other_user}","gists_url":"https://api.github.com/users/brson/gists{/gist_id}","starred_url":"https://api.github.com/users/brson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brson/subscriptions","organizations_url":"https://api.github.com/users/brson/orgs","repos_url":"https://api.github.com/users/brson/repos","events_url":"https://api.github.com/users/brson/events{/privacy}","received_events_url":"https://api.github.com/users/brson/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/26545/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/26545/comments","review_comment_url":"https://api.github.com/repos/rust-lang/rust/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/26545/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/6a44ae3e75567ca575bb962d8585b2a50f2b4ce6","head":{"label":"GuillaumeGomez:patch-3","ref":"patch-3","sha":"6a44ae3e75567ca575bb962d8585b2a50f2b4ce6","user":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"repo":{"id":32751288,"name":"rust","full_name":"GuillaumeGomez/rust","owner":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GuillaumeGomez/rust","description":"a safe, concurrent, practical language","fork":true,"url":"https://api.github.com/repos/GuillaumeGomez/rust","forks_url":"https://api.github.com/repos/GuillaumeGomez/rust/forks","keys_url":"https://api.github.com/repos/GuillaumeGomez/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GuillaumeGomez/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GuillaumeGomez/rust/teams","hooks_url":"https://api.github.com/repos/GuillaumeGomez/rust/hooks","issue_events_url":"https://api.github.com/repos/GuillaumeGomez/rust/issues/events{/number}","events_url":"https://api.github.com/repos/GuillaumeGomez/rust/events","assignees_url":"https://api.github.com/repos/GuillaumeGomez/rust/assignees{/user}","branches_url":"https://api.github.com/repos/GuillaumeGomez/rust/branches{/branch}","tags_url":"https://api.github.com/repos/GuillaumeGomez/rust/tags","blobs_url":"https://api.github.com/repos/GuillaumeGomez/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GuillaumeGomez/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GuillaumeGomez/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/GuillaumeGomez/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GuillaumeGomez/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/GuillaumeGomez/rust/languages","stargazers_url":"https://api.github.com/repos/GuillaumeGomez/rust/stargazers","contributors_url":"https://api.github.com/repos/GuillaumeGomez/rust/contributors","subscribers_url":"https://api.github.com/repos/GuillaumeGomez/rust/subscribers","subscription_url":"https://api.github.com/repos/GuillaumeGomez/rust/subscription","commits_url":"https://api.github.com/repos/GuillaumeGomez/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/GuillaumeGomez/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/GuillaumeGomez/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/GuillaumeGomez/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/GuillaumeGomez/rust/contents/{+path}","compare_url":"https://api.github.com/repos/GuillaumeGomez/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GuillaumeGomez/rust/merges","archive_url":"https://api.github.com/repos/GuillaumeGomez/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GuillaumeGomez/rust/downloads","issues_url":"https://api.github.com/repos/GuillaumeGomez/rust/issues{/number}","pulls_url":"https://api.github.com/repos/GuillaumeGomez/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/GuillaumeGomez/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/GuillaumeGomez/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GuillaumeGomez/rust/labels{/name}","releases_url":"https://api.github.com/repos/GuillaumeGomez/rust/releases{/id}","created_at":"2015-03-23T18:35:10Z","updated_at":"2015-05-05T17:42:09Z","pushed_at":"2015-06-24T16:59:07Z","git_url":"git://github.com/GuillaumeGomez/rust.git","ssh_url":"git@github.com:GuillaumeGomez/rust.git","clone_url":"https://github.com/GuillaumeGomez/rust.git","svn_url":"https://github.com/GuillaumeGomez/rust","homepage":"http://www.rust-lang.org","size":300557,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"43ad8d0beca33b9a2a8f64f30b71724e0b213bd4","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":724712,"name":"rust","full_name":"rust-lang/rust","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/rust","description":"A safe, concurrent, practical language.","fork":false,"url":"https://api.github.com/repos/rust-lang/rust","forks_url":"https://api.github.com/repos/rust-lang/rust/forks","keys_url":"https://api.github.com/repos/rust-lang/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/rust/teams","hooks_url":"https://api.github.com/repos/rust-lang/rust/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/rust/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/rust/events","assignees_url":"https://api.github.com/repos/rust-lang/rust/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/rust/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/rust/tags","blobs_url":"https://api.github.com/repos/rust-lang/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/rust/languages","stargazers_url":"https://api.github.com/repos/rust-lang/rust/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/rust/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/rust/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/rust/subscription","commits_url":"https://api.github.com/repos/rust-lang/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang/rust/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/rust/merges","archive_url":"https://api.github.com/repos/rust-lang/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/rust/downloads","issues_url":"https://api.github.com/repos/rust-lang/rust/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/rust/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/rust/releases{/id}","created_at":"2010-06-16T20:39:03Z","updated_at":"2015-06-24T16:38:04Z","pushed_at":"2015-06-24T16:59:34Z","git_url":"git://github.com/rust-lang/rust.git","ssh_url":"git@github.com:rust-lang/rust.git","clone_url":"https://github.com/rust-lang/rust.git","svn_url":"https://github.com/rust-lang/rust","homepage":"http://www.rust-lang.org","size":632840,"stargazers_count":12334,"watchers_count":12334,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2365,"mirror_url":null,"open_issues_count":2097,"forks":2365,"open_issues":2097,"watchers":12334,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/26545"},"html":{"href":"https://github.com/rust-lang/rust/pull/26545"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/26545"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/26545/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/26545/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/26545/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/6a44ae3e75567ca575bb962d8585b2a50f2b4ce6"}}}}