-
Zeeshan Ali Khan authored
This is so that we can implement `Clone` for `Error` in a following commit w/o ending up tranforming all I/O errors to generic string errors during cloning (`std::io::Error` doesn't implement `Clone`[1]). We still keep `Io` variant around for backwards-compat but we deprecate it and don't return errors with that variant for any of our API anymore. [1]: https://github.com/rust-lang/rust/issues/24135
9d81a9b0