{"action":"closed","number":22824,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/22824","id":30049131,"html_url":"https://github.com/rust-lang/rust/pull/22824","diff_url":"https://github.com/rust-lang/rust/pull/22824.diff","patch_url":"https://github.com/rust-lang/rust/pull/22824.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/22824","number":22824,"state":"closed","locked":false,"title":"Fix up build warnings about use of []","user":{"login":"bossmc","id":1073983,"avatar_url":"https://avatars.githubusercontent.com/u/1073983?v=3","gravatar_id":"","url":"https://api.github.com/users/bossmc","html_url":"https://github.com/bossmc","followers_url":"https://api.github.com/users/bossmc/followers","following_url":"https://api.github.com/users/bossmc/following{/other_user}","gists_url":"https://api.github.com/users/bossmc/gists{/gist_id}","starred_url":"https://api.github.com/users/bossmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bossmc/subscriptions","organizations_url":"https://api.github.com/users/bossmc/orgs","repos_url":"https://api.github.com/users/bossmc/repos","events_url":"https://api.github.com/users/bossmc/events{/privacy}","received_events_url":"https://api.github.com/users/bossmc/received_events","type":"User","site_admin":false},"body":"Simple PR to fix some build warnings on a clean clone of master.\r\n\r\n```\r\n/home/ubuntu/src/rust/src/librustc/middle/astconv_util.rs:71:51: 71:53 warning: obsolete syntax: []\r\n/home/ubuntu/src/rust/src/librustc/middle/astconv_util.rs:71             Some(prim_ty_to_ty(tcx, &path.segments[], nty))\r\n                                                                                                               ^~\r\nnote: write `[..]` instead\r\n...\r\n/home/ubuntu/src/rust/src/librustc_resolve/lib.rs:2988:53: 2988:55 warning: obsolete syntax: []\r\n/home/ubuntu/src/rust/src/librustc_resolve/lib.rs:2988             self.resolve_error(trait_path.span, &msg[]);\r\n                                                                                                           ^~\r\nnote: write `[..]` instead\r\n```","created_at":"2015-02-26T03:58:53Z","updated_at":"2015-02-28T08:28:46Z","closed_at":"2015-02-28T08:28:46Z","merged_at":null,"merge_commit_sha":"440526c4d19b76da482e27cc3a1a8b2c1ea0cf91","assignee":{"login":"huonw","id":1203825,"avatar_url":"https://avatars.githubusercontent.com/u/1203825?v=3","gravatar_id":"","url":"https://api.github.com/users/huonw","html_url":"https://github.com/huonw","followers_url":"https://api.github.com/users/huonw/followers","following_url":"https://api.github.com/users/huonw/following{/other_user}","gists_url":"https://api.github.com/users/huonw/gists{/gist_id}","starred_url":"https://api.github.com/users/huonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huonw/subscriptions","organizations_url":"https://api.github.com/users/huonw/orgs","repos_url":"https://api.github.com/users/huonw/repos","events_url":"https://api.github.com/users/huonw/events{/privacy}","received_events_url":"https://api.github.com/users/huonw/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/22824/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/22824/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/22824/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/d9bdc43cdfa64c411787c030ee1c9523d092cbad","head":{"label":"bossmc:build-warnings","ref":"build-warnings","sha":"d9bdc43cdfa64c411787c030ee1c9523d092cbad","user":{"login":"bossmc","id":1073983,"avatar_url":"https://avatars.githubusercontent.com/u/1073983?v=3","gravatar_id":"","url":"https://api.github.com/users/bossmc","html_url":"https://github.com/bossmc","followers_url":"https://api.github.com/users/bossmc/followers","following_url":"https://api.github.com/users/bossmc/following{/other_user}","gists_url":"https://api.github.com/users/bossmc/gists{/gist_id}","starred_url":"https://api.github.com/users/bossmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bossmc/subscriptions","organizations_url":"https://api.github.com/users/bossmc/orgs","repos_url":"https://api.github.com/users/bossmc/repos","events_url":"https://api.github.com/users/bossmc/events{/privacy}","received_events_url":"https://api.github.com/users/bossmc/received_events","type":"User","site_admin":false},"repo":{"id":31349684,"name":"rust","full_name":"bossmc/rust","owner":{"login":"bossmc","id":1073983,"avatar_url":"https://avatars.githubusercontent.com/u/1073983?v=3","gravatar_id":"","url":"https://api.github.com/users/bossmc","html_url":"https://github.com/bossmc","followers_url":"https://api.github.com/users/bossmc/followers","following_url":"https://api.github.com/users/bossmc/following{/other_user}","gists_url":"https://api.github.com/users/bossmc/gists{/gist_id}","starred_url":"https://api.github.com/users/bossmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bossmc/subscriptions","organizations_url":"https://api.github.com/users/bossmc/orgs","repos_url":"https://api.github.com/users/bossmc/repos","events_url":"https://api.github.com/users/bossmc/events{/privacy}","received_events_url":"https://api.github.com/users/bossmc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bossmc/rust","description":"a safe, concurrent, practical language","fork":true,"url":"https://api.github.com/repos/bossmc/rust","forks_url":"https://api.github.com/repos/bossmc/rust/forks","keys_url":"https://api.github.com/repos/bossmc/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bossmc/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bossmc/rust/teams","hooks_url":"https://api.github.com/repos/bossmc/rust/hooks","issue_events_url":"https://api.github.com/repos/bossmc/rust/issues/events{/number}","events_url":"https://api.github.com/repos/bossmc/rust/events","assignees_url":"https://api.github.com/repos/bossmc/rust/assignees{/user}","branches_url":"https://api.github.com/repos/bossmc/rust/branches{/branch}","tags_url":"https://api.github.com/repos/bossmc/rust/tags","blobs_url":"https://api.github.com/repos/bossmc/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bossmc/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bossmc/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/bossmc/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bossmc/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/bossmc/rust/languages","stargazers_url":"https://api.github.com/repos/bossmc/rust/stargazers","contributors_url":"https://api.github.com/repos/bossmc/rust/contributors","subscribers_url":"https://api.github.com/repos/bossmc/rust/subscribers","subscription_url":"https://api.github.com/repos/bossmc/rust/subscription","commits_url":"https://api.github.com/repos/bossmc/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/bossmc/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/bossmc/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/bossmc/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/bossmc/rust/contents/{+path}","compare_url":"https://api.github.com/repos/bossmc/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bossmc/rust/merges","archive_url":"https://api.github.com/repos/bossmc/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bossmc/rust/downloads","issues_url":"https://api.github.com/repos/bossmc/rust/issues{/number}","pulls_url":"https://api.github.com/repos/bossmc/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/bossmc/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/bossmc/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bossmc/rust/labels{/name}","releases_url":"https://api.github.com/repos/bossmc/rust/releases{/id}","created_at":"2015-02-26T03:54:54Z","updated_at":"2015-02-26T03:55:07Z","pushed_at":"2015-02-26T03:56:10Z","git_url":"git://github.com/bossmc/rust.git","ssh_url":"git@github.com:bossmc/rust.git","clone_url":"https://github.com/bossmc/rust.git","svn_url":"https://github.com/bossmc/rust","homepage":"http://www.rust-lang.org","size":241899,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"4db0b32467535d718d6474de7ae8d1007d900818","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-02-28T08:09:24Z","pushed_at":"2015-02-28T06:06:19Z","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":491374,"stargazers_count":9556,"watchers_count":9556,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1843,"mirror_url":null,"open_issues_count":1974,"forks":1843,"open_issues":1974,"watchers":9556,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/22824"},"html":{"href":"https://github.com/rust-lang/rust/pull/22824"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/22824"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/22824/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/22824/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/22824/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/d9bdc43cdfa64c411787c030ee1c9523d092cbad"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":6,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":2}}