{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/23162","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/23162/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/23162/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/23162/events","html_url":"https://github.com/rust-lang/rust/pull/23162","id":60239301,"number":23162,"title":"Implement RFC 640","user":{"login":"sfackler","id":1455697,"avatar_url":"https://avatars.githubusercontent.com/u/1455697?v=3","gravatar_id":"","url":"https://api.github.com/users/sfackler","html_url":"https://github.com/sfackler","followers_url":"https://api.github.com/users/sfackler/followers","following_url":"https://api.github.com/users/sfackler/following{/other_user}","gists_url":"https://api.github.com/users/sfackler/gists{/gist_id}","starred_url":"https://api.github.com/users/sfackler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfackler/subscriptions","organizations_url":"https://api.github.com/users/sfackler/orgs","repos_url":"https://api.github.com/users/sfackler/repos","events_url":"https://api.github.com/users/sfackler/events{/privacy}","received_events_url":"https://api.github.com/users/sfackler/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":5,"created_at":"2015-03-08T03:38:51Z","updated_at":"2015-03-10T02:42:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/23162","html_url":"https://github.com/rust-lang/rust/pull/23162","diff_url":"https://github.com/rust-lang/rust/pull/23162.diff","patch_url":"https://github.com/rust-lang/rust/pull/23162.patch"},"body":"I've made some minor changes from the implementation attached to the RFC to try to minimize codegen. The methods now take `&Debug` trait objects rather than being parameterized and there are inlined stub methods that call to non-inlined methods to do the work.\r\n\r\nr? @alexcrichton \r\n\r\ncc @huonw for the `derive(Debug)` changes."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/77986255","html_url":"https://github.com/rust-lang/rust/pull/23162#issuecomment-77986255","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/23162","id":77986255,"user":{"login":"sfackler","id":1455697,"avatar_url":"https://avatars.githubusercontent.com/u/1455697?v=3","gravatar_id":"","url":"https://api.github.com/users/sfackler","html_url":"https://github.com/sfackler","followers_url":"https://api.github.com/users/sfackler/followers","following_url":"https://api.github.com/users/sfackler/following{/other_user}","gists_url":"https://api.github.com/users/sfackler/gists{/gist_id}","starred_url":"https://api.github.com/users/sfackler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfackler/subscriptions","organizations_url":"https://api.github.com/users/sfackler/orgs","repos_url":"https://api.github.com/users/sfackler/repos","events_url":"https://api.github.com/users/sfackler/events{/privacy}","received_events_url":"https://api.github.com/users/sfackler/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T02:42:44Z","updated_at":"2015-03-10T02:42:44Z","body":"I will collect some statistics.\r\n\r\nThe deriving implementation uses the functionality @huonw added to be able to call unstable APIs without triggering feature gates."}}