{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/32139","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/32139/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/32139/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/32139/events","html_url":"https://github.com/rust-lang/rust/pull/32139","id":139430142,"number":32139,"title":"cleanups and fixes for #[derive]","user":{"login":"durka","id":47007,"avatar_url":"https://avatars.githubusercontent.com/u/47007?v=3","gravatar_id":"","url":"https://api.github.com/users/durka","html_url":"https://github.com/durka","followers_url":"https://api.github.com/users/durka/followers","following_url":"https://api.github.com/users/durka/following{/other_user}","gists_url":"https://api.github.com/users/durka/gists{/gist_id}","starred_url":"https://api.github.com/users/durka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durka/subscriptions","organizations_url":"https://api.github.com/users/durka/orgs","repos_url":"https://api.github.com/users/durka/repos","events_url":"https://api.github.com/users/durka/events{/privacy}","received_events_url":"https://api.github.com/users/durka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"milestone":null,"comments":21,"created_at":"2016-03-08T23:51:38Z","updated_at":"2016-03-12T17:32:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/32139","html_url":"https://github.com/rust-lang/rust/pull/32139","diff_url":"https://github.com/rust-lang/rust/pull/32139.diff","patch_url":"https://github.com/rust-lang/rust/pull/32139.patch"},"body":"This contains a bunch of little cleanups and fixes to `#[derive]`. There are more extensive comments on each individual commit.\r\n\r\n- hygiene cleanups\r\n- use `discriminant_value` instead of variant index in `#[derive(Hash)]`\r\n- ~~don't move out of borrowed content in `#[derive(PartialOrd, PartialEq)]`~~\r\n- use `intrinsics::unreachable()` instead of `unreachable!()`\r\n\r\nI don't believe there are any breaking changes in here, but I do want some more eyes on that.\r\n\r\nFixes #2810 (!), I believe (we still assume that \"std\" or \"core\" is the standard library but so does the rest of rustc...).\r\nFixes #21714 (cc @apasel422).\r\n~~Fixes~~ (postponed) #24047 (cc @withoutboats @bluss).\r\nFixes #31714 (cc @alexcrichton @bluss).\r\nFixes #31886 (cc @oli-obk)."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/195778037","html_url":"https://github.com/rust-lang/rust/pull/32139#issuecomment-195778037","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/32139","id":195778037,"user":{"login":"bors","id":3372342,"avatar_url":"https://avatars.githubusercontent.com/u/3372342?v=3","gravatar_id":"","url":"https://api.github.com/users/bors","html_url":"https://github.com/bors","followers_url":"https://api.github.com/users/bors/followers","following_url":"https://api.github.com/users/bors/following{/other_user}","gists_url":"https://api.github.com/users/bors/gists{/gist_id}","starred_url":"https://api.github.com/users/bors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors/subscriptions","organizations_url":"https://api.github.com/users/bors/orgs","repos_url":"https://api.github.com/users/bors/repos","events_url":"https://api.github.com/users/bors/events{/privacy}","received_events_url":"https://api.github.com/users/bors/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T17:32:31Z","updated_at":"2016-03-12T17:32:31Z","body":":hourglass: Testing commit 8cccdd0 with merge 8c91b81..."}}