What happened to std::error::FromError?


#1

Seems to have silently disappeared?


#2

It’s replaced by the more general std::convert::From.


#3

Thanks. For anyone else who finds this helpful:

-impl std::error::FromErrorio::Error for Error {

  • fn from_error(err: io::Error) -> Error {
    +impl std::convert::Fromio::Error for Error {
  • fn from(err: io::Error) -> Error {

and that works with try!