{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/42229","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/42229/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/42229/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/42229/events","html_url":"https://github.com/rust-lang/rust/issues/42229","id":231464760,"number":42229,"title":"Add error codes for all errors","user":{"login":"Susurrus","id":206363,"avatar_url":"https://avatars2.githubusercontent.com/u/206363?v=3","gravatar_id":"","url":"https://api.github.com/users/Susurrus","html_url":"https://github.com/Susurrus","followers_url":"https://api.github.com/users/Susurrus/followers","following_url":"https://api.github.com/users/Susurrus/following{/other_user}","gists_url":"https://api.github.com/users/Susurrus/gists{/gist_id}","starred_url":"https://api.github.com/users/Susurrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Susurrus/subscriptions","organizations_url":"https://api.github.com/users/Susurrus/orgs","repos_url":"https://api.github.com/users/Susurrus/repos","events_url":"https://api.github.com/users/Susurrus/events{/privacy}","received_events_url":"https://api.github.com/users/Susurrus/received_events","type":"User","site_admin":false},"labels":[{"id":235791,"url":"https://api.github.com/repos/rust-lang/rust/labels/A-diagnostics","name":"A-diagnostics","color":"d7e102","default":false}],"state":"closed","locked":false,"assignee":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars3.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},"assignees":[{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars3.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}],"milestone":null,"comments":2,"created_at":"2017-05-25T21:27:35Z","updated_at":"2017-07-11T20:20:02Z","closed_at":"2017-07-11T20:20:02Z","body":"This is related to work for adding explanations for all errors (#32777) and updating all errors to the new error format (#35233). Unfortunately not all errors have error codes. This is a tracking issue for those errors. I'd think eventually we'd want error codes for all errors so that they're easy to reference.\r\n\r\n- [x] Field unknown: `attempted access of field _ on type _, but no field with that name was found`\r\n- [x] Doesn't live long enough: `_ does not live long enough`\r\n- [x] Temporary doesn't live long enough: `borrowed value does not live long enough`\r\n- [x] Better mutability: `cannot borrow immutable borrowed content _ as mutable`\r\n- [x] Type unknown: `the type of this value must be known in this context`\r\n- [x] Non-scalar cast: `non-scalar cast: _ as _`\r\n- [x] No associated item: `no associated item named _ found for type _ in the current scope`\r\n\r\ncc @GuillaumeGomez "}}
{"actor":{"display_login":"GuillaumeGomez"}}