Closed AnderEnder closed 4 years ago
That's quite the leap in minimum supported rust. Do the tests fail on 1.13?
I dug into this and sure enough, with 1.41 release, our next breaking version would need to support 1.27 at minimum or error in compilation. An alternative option would be to https://crates.io/crates/rustversion conditionally compile the trait.
@AndyGauge, there is another option: to allow deprecated methods.
Closing in favour of https://github.com/rust-lang-nursery/error-chain/pull/285
Error::description
has been documented as soft-deprecated since 1.27.0 (17 months ago). It is going to be hard-deprecated soon.This PR:
description
inimpl ::std::error::Error
foreign_link_variant
Related PR: https://github.com/rust-lang/rust/pull/66919