What happened to std::error::FromError?

Seems to have silently disappeared?

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

2 Likes

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!