{"action":"closed","number":560,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/560","id":26992101,"html_url":"https://github.com/rust-lang/rfcs/pull/560","diff_url":"https://github.com/rust-lang/rfcs/pull/560.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/560.patch","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/560","number":560,"state":"closed","locked":false,"title":"Integer overflow","user":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"body":"A simplified version of Gabhor's [\"Scoped Attributes for Integer Overflow\" RFC][rfc].\r\n\r\n[Rendered version.](https://github.com/nikomatsakis/rfcs/blob/integer-overflow/text/0000-integer-overflow.md)\r\n\r\n[rfc]: https://github.com/rust-lang/rfcs/pull/146","created_at":"2015-01-07T22:12:51Z","updated_at":"2015-02-06T20:47:42Z","closed_at":"2015-02-06T20:47:42Z","merged_at":"2015-02-06T20:47:42Z","merge_commit_sha":"651723d57f7b64616a5217ced51a4b486c31e4b1","assignee":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rfcs/pulls/560/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rfcs/pulls/560/comments","review_comment_url":"https://api.github.com/repos/rust-lang/rfcs/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/560/comments","statuses_url":"https://api.github.com/repos/rust-lang/rfcs/statuses/9fb9ad698cf83e77b45cfbe9845962f5a8ca6d35","head":{"label":"nikomatsakis:integer-overflow","ref":"integer-overflow","sha":"9fb9ad698cf83e77b45cfbe9845962f5a8ca6d35","user":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"repo":{"id":17838433,"name":"rfcs","full_name":"nikomatsakis/rfcs","owner":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nikomatsakis/rfcs","description":"RFCs for changes to Rust","fork":true,"url":"https://api.github.com/repos/nikomatsakis/rfcs","forks_url":"https://api.github.com/repos/nikomatsakis/rfcs/forks","keys_url":"https://api.github.com/repos/nikomatsakis/rfcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nikomatsakis/rfcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nikomatsakis/rfcs/teams","hooks_url":"https://api.github.com/repos/nikomatsakis/rfcs/hooks","issue_events_url":"https://api.github.com/repos/nikomatsakis/rfcs/issues/events{/number}","events_url":"https://api.github.com/repos/nikomatsakis/rfcs/events","assignees_url":"https://api.github.com/repos/nikomatsakis/rfcs/assignees{/user}","branches_url":"https://api.github.com/repos/nikomatsakis/rfcs/branches{/branch}","tags_url":"https://api.github.com/repos/nikomatsakis/rfcs/tags","blobs_url":"https://api.github.com/repos/nikomatsakis/rfcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nikomatsakis/rfcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nikomatsakis/rfcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/nikomatsakis/rfcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nikomatsakis/rfcs/statuses/{sha}","languages_url":"https://api.github.com/repos/nikomatsakis/rfcs/languages","stargazers_url":"https://api.github.com/repos/nikomatsakis/rfcs/stargazers","contributors_url":"https://api.github.com/repos/nikomatsakis/rfcs/contributors","subscribers_url":"https://api.github.com/repos/nikomatsakis/rfcs/subscribers","subscription_url":"https://api.github.com/repos/nikomatsakis/rfcs/subscription","commits_url":"https://api.github.com/repos/nikomatsakis/rfcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/nikomatsakis/rfcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/nikomatsakis/rfcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/nikomatsakis/rfcs/issues/comments/{number}","contents_url":"https://api.github.com/repos/nikomatsakis/rfcs/contents/{+path}","compare_url":"https://api.github.com/repos/nikomatsakis/rfcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nikomatsakis/rfcs/merges","archive_url":"https://api.github.com/repos/nikomatsakis/rfcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nikomatsakis/rfcs/downloads","issues_url":"https://api.github.com/repos/nikomatsakis/rfcs/issues{/number}","pulls_url":"https://api.github.com/repos/nikomatsakis/rfcs/pulls{/number}","milestones_url":"https://api.github.com/repos/nikomatsakis/rfcs/milestones{/number}","notifications_url":"https://api.github.com/repos/nikomatsakis/rfcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nikomatsakis/rfcs/labels{/name}","releases_url":"https://api.github.com/repos/nikomatsakis/rfcs/releases{/id}","created_at":"2014-03-17T18:18:40Z","updated_at":"2014-10-06T17:51:08Z","pushed_at":"2015-02-05T17:23:00Z","git_url":"git://github.com/nikomatsakis/rfcs.git","ssh_url":"git@github.com:nikomatsakis/rfcs.git","clone_url":"https://github.com/nikomatsakis/rfcs.git","svn_url":"https://github.com/nikomatsakis/rfcs","homepage":"","size":1867,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"5fe126cc7b0131339d31bff23449169a4f1e39b6","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":17527989,"name":"rfcs","full_name":"rust-lang/rfcs","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/rfcs","description":"RFCs for changes to Rust","fork":false,"url":"https://api.github.com/repos/rust-lang/rfcs","forks_url":"https://api.github.com/repos/rust-lang/rfcs/forks","keys_url":"https://api.github.com/repos/rust-lang/rfcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/rfcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/rfcs/teams","hooks_url":"https://api.github.com/repos/rust-lang/rfcs/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/rfcs/events","assignees_url":"https://api.github.com/repos/rust-lang/rfcs/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/rfcs/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/rfcs/tags","blobs_url":"https://api.github.com/repos/rust-lang/rfcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/rfcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/rfcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/rfcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/rfcs/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/rfcs/languages","stargazers_url":"https://api.github.com/repos/rust-lang/rfcs/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/rfcs/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/rfcs/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/rfcs/subscription","commits_url":"https://api.github.com/repos/rust-lang/rfcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/rfcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/{number}","contents_url":"https://api.github.com/repos/rust-lang/rfcs/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/rfcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/rfcs/merges","archive_url":"https://api.github.com/repos/rust-lang/rfcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/rfcs/downloads","issues_url":"https://api.github.com/repos/rust-lang/rfcs/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/rfcs/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/rfcs/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/rfcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/rfcs/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/rfcs/releases{/id}","created_at":"2014-03-07T21:29:00Z","updated_at":"2015-02-04T04:55:07Z","pushed_at":"2015-02-06T20:47:40Z","git_url":"git://github.com/rust-lang/rfcs.git","ssh_url":"git@github.com:rust-lang/rfcs.git","clone_url":"https://github.com/rust-lang/rfcs.git","svn_url":"https://github.com/rust-lang/rfcs","homepage":"","size":6930,"stargazers_count":250,"watchers_count":250,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":154,"mirror_url":null,"open_issues_count":395,"forks":154,"open_issues":395,"watchers":250,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/560"},"html":{"href":"https://github.com/rust-lang/rfcs/pull/560"},"issue":{"href":"https://api.github.com/repos/rust-lang/rfcs/issues/560"},"comments":{"href":"https://api.github.com/repos/rust-lang/rfcs/issues/560/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/560/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/560/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rfcs/statuses/9fb9ad698cf83e77b45cfbe9845962f5a8ca6d35"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aturon","id":709807,"avatar_url":"https://avatars.githubusercontent.com/u/709807?v=3","gravatar_id":"","url":"https://api.github.com/users/aturon","html_url":"https://github.com/aturon","followers_url":"https://api.github.com/users/aturon/followers","following_url":"https://api.github.com/users/aturon/following{/other_user}","gists_url":"https://api.github.com/users/aturon/gists{/gist_id}","starred_url":"https://api.github.com/users/aturon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aturon/subscriptions","organizations_url":"https://api.github.com/users/aturon/orgs","repos_url":"https://api.github.com/users/aturon/repos","events_url":"https://api.github.com/users/aturon/events{/privacy}","received_events_url":"https://api.github.com/users/aturon/received_events","type":"User","site_admin":false},"comments":147,"review_comments":7,"commits":18,"additions":539,"deletions":0,"changed_files":1}}