{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/26163","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/26163/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/26163/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/26163/events","html_url":"https://github.com/rust-lang/rust/pull/26163","id":86804356,"number":26163,"title":"Add error explanation for E0038","user":{"login":"jashank","id":422947,"avatar_url":"https://avatars.githubusercontent.com/u/422947?v=3","gravatar_id":"","url":"https://api.github.com/users/jashank","html_url":"https://github.com/jashank","followers_url":"https://api.github.com/users/jashank/followers","following_url":"https://api.github.com/users/jashank/following{/other_user}","gists_url":"https://api.github.com/users/jashank/gists{/gist_id}","starred_url":"https://api.github.com/users/jashank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jashank/subscriptions","organizations_url":"https://api.github.com/users/jashank/orgs","repos_url":"https://api.github.com/users/jashank/repos","events_url":"https://api.github.com/users/jashank/events{/privacy}","received_events_url":"https://api.github.com/users/jashank/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":16,"created_at":"2015-06-10T02:17:34Z","updated_at":"2015-07-03T07:43:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/26163","html_url":"https://github.com/rust-lang/rust/pull/26163","diff_url":"https://github.com/rust-lang/rust/pull/26163.diff","patch_url":"https://github.com/rust-lang/rust/pull/26163.patch"},"body":"I'd like to have added examples for each case but the overall error explanation started getting uncomfortably long.  Instead, I've lifted and rewritten notes from `src/librustc/middle/traits/object_safety.rs` to be (somewhat) clearer.\r\n\r\nPersonally, I feel this should become five separate error codes for each `ObjectSafetyViolation` case, also counting `MethodViolationCode`s.\r\n\r\ncc #24407"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/118266187","html_url":"https://github.com/rust-lang/rust/pull/26163#issuecomment-118266187","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/26163","id":118266187,"user":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T07:43:04Z","updated_at":"2015-07-03T07:43:04Z","body":"cc @Manishearth "}}