{"action":"created","comment":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/comments/86001613","pull_request_review_id":6682934,"id":86001613,"diff_hunk":"@@ -500,7 +528,12 @@ impl LateLintPass for Pass {\n         match expr.node {\n             hir::ExprMethodCall(name, _, ref args) => {\n                 // Chain calls\n-                if let Some(arglists) = method_chain_args(expr, &[\"unwrap\"]) {\n+                // GET_UNWRAP needs to be checked before general `UNWRAP` lints\n+                if let Some(arglists) = method_chain_args(expr, &[\"get\", \"unwrap\"]) {\n+                lint_get_unwrap(cx, expr, arglists[0], false);","path":"clippy_lints/src/methods.rs","position":55,"original_position":55,"commit_id":"1187d333ec0bdee66583220a104c5bf4e14d16ef","original_commit_id":"1187d333ec0bdee66583220a104c5bf4e14d16ef","user":{"login":"oli-obk","id":332036,"avatar_url":"https://avatars.githubusercontent.com/u/332036?v=3","gravatar_id":"","url":"https://api.github.com/users/oli-obk","html_url":"https://github.com/oli-obk","followers_url":"https://api.github.com/users/oli-obk/followers","following_url":"https://api.github.com/users/oli-obk/following{/other_user}","gists_url":"https://api.github.com/users/oli-obk/gists{/gist_id}","starred_url":"https://api.github.com/users/oli-obk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oli-obk/subscriptions","organizations_url":"https://api.github.com/users/oli-obk/orgs","repos_url":"https://api.github.com/users/oli-obk/repos","events_url":"https://api.github.com/users/oli-obk/events{/privacy}","received_events_url":"https://api.github.com/users/oli-obk/received_events","type":"User","site_admin":false},"body":"Yea... Maybe under a separate lint, don't worry about it.","created_at":"2016-11-01T19:08:44Z","updated_at":"2016-11-01T19:08:44Z","html_url":"https://github.com/Manishearth/rust-clippy/pull/1312#discussion_r86001613","pull_request_url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/1312","_links":{"self":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/comments/86001613"},"html":{"href":"https://github.com/Manishearth/rust-clippy/pull/1312#discussion_r86001613"},"pull_request":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/1312"}}},"pull_request":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/1312","id":91747309,"html_url":"https://github.com/Manishearth/rust-clippy/pull/1312","diff_url":"https://github.com/Manishearth/rust-clippy/pull/1312.diff","patch_url":"https://github.com/Manishearth/rust-clippy/pull/1312.patch","issue_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1312","number":1312,"state":"open","locked":false,"title":"Implement `get_unwrap` lint","user":{"login":"devonhollowood","id":7864326,"avatar_url":"https://avatars.githubusercontent.com/u/7864326?v=3","gravatar_id":"","url":"https://api.github.com/users/devonhollowood","html_url":"https://github.com/devonhollowood","followers_url":"https://api.github.com/users/devonhollowood/followers","following_url":"https://api.github.com/users/devonhollowood/following{/other_user}","gists_url":"https://api.github.com/users/devonhollowood/gists{/gist_id}","starred_url":"https://api.github.com/users/devonhollowood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devonhollowood/subscriptions","organizations_url":"https://api.github.com/users/devonhollowood/orgs","repos_url":"https://api.github.com/users/devonhollowood/repos","events_url":"https://api.github.com/users/devonhollowood/events{/privacy}","received_events_url":"https://api.github.com/users/devonhollowood/received_events","type":"User","site_admin":false},"body":"Fix #1310 ","created_at":"2016-11-01T08:28:41Z","updated_at":"2016-11-01T19:08:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9527b62cf568f9581ae300d32de689e21f7fb91","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/1312/commits","review_comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/1312/comments","review_comment_url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1312/comments","statuses_url":"https://api.github.com/repos/Manishearth/rust-clippy/statuses/1187d333ec0bdee66583220a104c5bf4e14d16ef","head":{"label":"devonhollowood:get-unwrap","ref":"get-unwrap","sha":"1187d333ec0bdee66583220a104c5bf4e14d16ef","user":{"login":"devonhollowood","id":7864326,"avatar_url":"https://avatars.githubusercontent.com/u/7864326?v=3","gravatar_id":"","url":"https://api.github.com/users/devonhollowood","html_url":"https://github.com/devonhollowood","followers_url":"https://api.github.com/users/devonhollowood/followers","following_url":"https://api.github.com/users/devonhollowood/following{/other_user}","gists_url":"https://api.github.com/users/devonhollowood/gists{/gist_id}","starred_url":"https://api.github.com/users/devonhollowood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devonhollowood/subscriptions","organizations_url":"https://api.github.com/users/devonhollowood/orgs","repos_url":"https://api.github.com/users/devonhollowood/repos","events_url":"https://api.github.com/users/devonhollowood/events{/privacy}","received_events_url":"https://api.github.com/users/devonhollowood/received_events","type":"User","site_admin":false},"repo":{"id":46388819,"name":"rust-clippy","full_name":"devonhollowood/rust-clippy","owner":{"login":"devonhollowood","id":7864326,"avatar_url":"https://avatars.githubusercontent.com/u/7864326?v=3","gravatar_id":"","url":"https://api.github.com/users/devonhollowood","html_url":"https://github.com/devonhollowood","followers_url":"https://api.github.com/users/devonhollowood/followers","following_url":"https://api.github.com/users/devonhollowood/following{/other_user}","gists_url":"https://api.github.com/users/devonhollowood/gists{/gist_id}","starred_url":"https://api.github.com/users/devonhollowood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devonhollowood/subscriptions","organizations_url":"https://api.github.com/users/devonhollowood/orgs","repos_url":"https://api.github.com/users/devonhollowood/repos","events_url":"https://api.github.com/users/devonhollowood/events{/privacy}","received_events_url":"https://api.github.com/users/devonhollowood/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devonhollowood/rust-clippy","description":"A bunch of lints to catch common mistakes and improve your Rust code","fork":true,"url":"https://api.github.com/repos/devonhollowood/rust-clippy","forks_url":"https://api.github.com/repos/devonhollowood/rust-clippy/forks","keys_url":"https://api.github.com/repos/devonhollowood/rust-clippy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devonhollowood/rust-clippy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devonhollowood/rust-clippy/teams","hooks_url":"https://api.github.com/repos/devonhollowood/rust-clippy/hooks","issue_events_url":"https://api.github.com/repos/devonhollowood/rust-clippy/issues/events{/number}","events_url":"https://api.github.com/repos/devonhollowood/rust-clippy/events","assignees_url":"https://api.github.com/repos/devonhollowood/rust-clippy/assignees{/user}","branches_url":"https://api.github.com/repos/devonhollowood/rust-clippy/branches{/branch}","tags_url":"https://api.github.com/repos/devonhollowood/rust-clippy/tags","blobs_url":"https://api.github.com/repos/devonhollowood/rust-clippy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devonhollowood/rust-clippy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devonhollowood/rust-clippy/git/refs{/sha}","trees_url":"https://api.github.com/repos/devonhollowood/rust-clippy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devonhollowood/rust-clippy/statuses/{sha}","languages_url":"https://api.github.com/repos/devonhollowood/rust-clippy/languages","stargazers_url":"https://api.github.com/repos/devonhollowood/rust-clippy/stargazers","contributors_url":"https://api.github.com/repos/devonhollowood/rust-clippy/contributors","subscribers_url":"https://api.github.com/repos/devonhollowood/rust-clippy/subscribers","subscription_url":"https://api.github.com/repos/devonhollowood/rust-clippy/subscription","commits_url":"https://api.github.com/repos/devonhollowood/rust-clippy/commits{/sha}","git_commits_url":"https://api.github.com/repos/devonhollowood/rust-clippy/git/commits{/sha}","comments_url":"https://api.github.com/repos/devonhollowood/rust-clippy/comments{/number}","issue_comment_url":"https://api.github.com/repos/devonhollowood/rust-clippy/issues/comments{/number}","contents_url":"https://api.github.com/repos/devonhollowood/rust-clippy/contents/{+path}","compare_url":"https://api.github.com/repos/devonhollowood/rust-clippy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devonhollowood/rust-clippy/merges","archive_url":"https://api.github.com/repos/devonhollowood/rust-clippy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devonhollowood/rust-clippy/downloads","issues_url":"https://api.github.com/repos/devonhollowood/rust-clippy/issues{/number}","pulls_url":"https://api.github.com/repos/devonhollowood/rust-clippy/pulls{/number}","milestones_url":"https://api.github.com/repos/devonhollowood/rust-clippy/milestones{/number}","notifications_url":"https://api.github.com/repos/devonhollowood/rust-clippy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devonhollowood/rust-clippy/labels{/name}","releases_url":"https://api.github.com/repos/devonhollowood/rust-clippy/releases{/id}","deployments_url":"https://api.github.com/repos/devonhollowood/rust-clippy/deployments","created_at":"2015-11-18T02:10:18Z","updated_at":"2016-01-28T21:39:40Z","pushed_at":"2016-11-01T08:26:40Z","git_url":"git://github.com/devonhollowood/rust-clippy.git","ssh_url":"git@github.com:devonhollowood/rust-clippy.git","clone_url":"https://github.com/devonhollowood/rust-clippy.git","svn_url":"https://github.com/devonhollowood/rust-clippy","homepage":"","size":3326,"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":"Manishearth:master","ref":"master","sha":"0e1f0656789a038cb90840c898613dca5d005651","user":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"repo":{"id":26850443,"name":"rust-clippy","full_name":"Manishearth/rust-clippy","owner":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Manishearth/rust-clippy","description":"A bunch of lints to catch common mistakes and improve your Rust code","fork":false,"url":"https://api.github.com/repos/Manishearth/rust-clippy","forks_url":"https://api.github.com/repos/Manishearth/rust-clippy/forks","keys_url":"https://api.github.com/repos/Manishearth/rust-clippy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Manishearth/rust-clippy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Manishearth/rust-clippy/teams","hooks_url":"https://api.github.com/repos/Manishearth/rust-clippy/hooks","issue_events_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/events{/number}","events_url":"https://api.github.com/repos/Manishearth/rust-clippy/events","assignees_url":"https://api.github.com/repos/Manishearth/rust-clippy/assignees{/user}","branches_url":"https://api.github.com/repos/Manishearth/rust-clippy/branches{/branch}","tags_url":"https://api.github.com/repos/Manishearth/rust-clippy/tags","blobs_url":"https://api.github.com/repos/Manishearth/rust-clippy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Manishearth/rust-clippy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Manishearth/rust-clippy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Manishearth/rust-clippy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Manishearth/rust-clippy/statuses/{sha}","languages_url":"https://api.github.com/repos/Manishearth/rust-clippy/languages","stargazers_url":"https://api.github.com/repos/Manishearth/rust-clippy/stargazers","contributors_url":"https://api.github.com/repos/Manishearth/rust-clippy/contributors","subscribers_url":"https://api.github.com/repos/Manishearth/rust-clippy/subscribers","subscription_url":"https://api.github.com/repos/Manishearth/rust-clippy/subscription","commits_url":"https://api.github.com/repos/Manishearth/rust-clippy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Manishearth/rust-clippy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/comments{/number}","contents_url":"https://api.github.com/repos/Manishearth/rust-clippy/contents/{+path}","compare_url":"https://api.github.com/repos/Manishearth/rust-clippy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Manishearth/rust-clippy/merges","archive_url":"https://api.github.com/repos/Manishearth/rust-clippy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Manishearth/rust-clippy/downloads","issues_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues{/number}","pulls_url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls{/number}","milestones_url":"https://api.github.com/repos/Manishearth/rust-clippy/milestones{/number}","notifications_url":"https://api.github.com/repos/Manishearth/rust-clippy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Manishearth/rust-clippy/labels{/name}","releases_url":"https://api.github.com/repos/Manishearth/rust-clippy/releases{/id}","deployments_url":"https://api.github.com/repos/Manishearth/rust-clippy/deployments","created_at":"2014-11-19T07:49:21Z","updated_at":"2016-11-01T15:25:56Z","pushed_at":"2016-11-01T08:28:41Z","git_url":"git://github.com/Manishearth/rust-clippy.git","ssh_url":"git@github.com:Manishearth/rust-clippy.git","clone_url":"https://github.com/Manishearth/rust-clippy.git","svn_url":"https://github.com/Manishearth/rust-clippy","homepage":"","size":3652,"stargazers_count":939,"watchers_count":939,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":93,"mirror_url":null,"open_issues_count":294,"forks":93,"open_issues":294,"watchers":939,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/1312"},"html":{"href":"https://github.com/Manishearth/rust-clippy/pull/1312"},"issue":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1312"},"comments":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1312/comments"},"review_comments":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/1312/comments"},"review_comment":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/1312/commits"},"statuses":{"href":"https://api.github.com/repos/Manishearth/rust-clippy/statuses/1187d333ec0bdee66583220a104c5bf4e14d16ef"}}}}
{"actor":{"display_login":"oli-obk"}}