{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/23919","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/23919/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/23919/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/23919/events","html_url":"https://github.com/rust-lang/rust/pull/23919","id":65565675,"number":23919,"title":"std: Stabilize last bits of io::Error","user":{"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},"labels":[],"state":"closed","locked":false,"assignee":{"login":"aturon","id":709807,"avatar_url":"https://avatars.githubusercontent.com/u/709807?v=3","gravatar_id":"","url":"https://api.github.com/users/aturon","html_url":"https://github.com/aturon","followers_url":"https://api.github.com/users/aturon/followers","following_url":"https://api.github.com/users/aturon/following{/other_user}","gists_url":"https://api.github.com/users/aturon/gists{/gist_id}","starred_url":"https://api.github.com/users/aturon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aturon/subscriptions","organizations_url":"https://api.github.com/users/aturon/orgs","repos_url":"https://api.github.com/users/aturon/repos","events_url":"https://api.github.com/users/aturon/events{/privacy}","received_events_url":"https://api.github.com/users/aturon/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-03-31T23:06:01Z","updated_at":"2015-04-06T15:57:04Z","closed_at":"2015-04-01T14:42:28Z","pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/23919","html_url":"https://github.com/rust-lang/rust/pull/23919","diff_url":"https://github.com/rust-lang/rust/pull/23919.diff","patch_url":"https://github.com/rust-lang/rust/pull/23919.patch"},"body":"This commit stabilizes a few remaining bits of the `io::Error` type:\r\n\r\n* The `Error::new` method is now stable. The last `detail` parameter was removed\r\n  and the second `desc` parameter was generalized to `E: Into<Box<Error>>` to\r\n  allow creating an I/O error from any form of error. Currently there is no form\r\n  of downcasting, but this will be added in time.\r\n\r\n* An implementation of `From<&str> for Box<Error>` was added to liballoc to\r\n  allow construction of errors from raw strings.\r\n\r\n* The `Error::raw_os_error` method was stabilized as-is.\r\n\r\n* Trait impls for `Clone`, `Eq`, and `PartialEq` were removed from `Error` as it\r\n  is not possible to use them with trait objects.\r\n\r\nThis is a breaking change due to the modification of the `new` method as well as\r\nthe removal of the trait implementations for the `Error` type.\r\n\r\n[breaking-change]"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/90122961","html_url":"https://github.com/rust-lang/rust/pull/23919#issuecomment-90122961","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/23919","id":90122961,"user":{"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},"created_at":"2015-04-06T15:57:04Z","updated_at":"2015-04-06T15:57:04Z","body":"I find the use case of putting `io::Error` in an Arc in one form or another pretty compelling, so it may be best to continue discussion on #24049 as it seems like one of the better methods forward!"}}