rust/src/libstd/sys/common
Alex Crichton ac77392f8a std: Stabilize last bits of io::Error
This commit stabilizes a few remaining bits of the `io::Error` type:

* The `Error::new` method is now stable. The last `detail` parameter was removed
  and the second `desc` parameter was generalized to `E: Into<Box<Error>>` to
  allow creating an I/O error from any form of error. Currently there is no form
  of downcasting, but this will be added in time.

* An implementation of `From<&str> for Box<Error>` was added to liballoc to
  allow construction of errors from raw strings.

* The `Error::raw_os_error` method was stabilized as-is.

* Trait impls for `Clone`, `Eq`, and `PartialEq` were removed from `Error` as it
  is not possible to use them with trait objects.

This is a breaking change due to the modification of the `new` method as well as
the removal of the trait implementations for the `Error` type.

[breaking-change]
2015-03-31 16:12:48 -07:00
..
backtrace.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
condvar.rs
helper_thread.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
mod.rs Stabilize std::num 2015-03-31 07:50:25 -07:00
mutex.rs
net2.rs std: Stabilize last bits of io::Error 2015-03-31 16:12:48 -07:00
net.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
rwlock.rs Fix spelling errors in comments. 2015-03-19 00:48:08 -04:00
stack.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
thread_info.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
thread_local.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
thread.rs std: Clean up the sys::thread modules 2015-03-15 10:35:48 -07:00
wtf8.rs Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00