{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/560","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/560/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/560/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/560/events","html_url":"https://github.com/rust-lang/rfcs/pull/560","id":53689124,"number":560,"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},"labels":[],"state":"open","locked":false,"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,"comments":94,"created_at":"2015-01-07T22:12:51Z","updated_at":"2015-01-17T02:08:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/560","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"},"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"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/70350134","html_url":"https://github.com/rust-lang/rfcs/pull/560#issuecomment-70350134","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/560","id":70350134,"user":{"login":"Diggsey","id":451321,"avatar_url":"https://avatars.githubusercontent.com/u/451321?v=3","gravatar_id":"","url":"https://api.github.com/users/Diggsey","html_url":"https://github.com/Diggsey","followers_url":"https://api.github.com/users/Diggsey/followers","following_url":"https://api.github.com/users/Diggsey/following{/other_user}","gists_url":"https://api.github.com/users/Diggsey/gists{/gist_id}","starred_url":"https://api.github.com/users/Diggsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diggsey/subscriptions","organizations_url":"https://api.github.com/users/Diggsey/orgs","repos_url":"https://api.github.com/users/Diggsey/repos","events_url":"https://api.github.com/users/Diggsey/events{/privacy}","received_events_url":"https://api.github.com/users/Diggsey/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T02:08:56Z","updated_at":"2015-01-17T02:08:56Z","body":"@mahkoh In the vast majority of cases, programmers use \"a/b\" (where a and b are integers) to mean _integer_ division, wanting exact division for which a remainder is an error, is the exception, so at best you're arguing for a helper method on Int to do that (and maybe that's a good idea)."}}