rust-lang-deprecated / error-chain

Error boilerplate for Rust
Apache License 2.0
728 stars 111 forks source link

Rust > 1.27.0 fix for dyn deprecation in nightly #264

Closed AndyGauge closed 5 years ago

AndyGauge commented 5 years ago

Added dyn qualifiers for trait objects https://doc.rust-lang.org/edition-guide/rust-2018/trait-system/dyn-trait-for-trait-objects.html

I expect this to fail for < 1.27.0

AndyGauge commented 5 years ago

Or include #[allow(unknown_lints, bare_trait_objects)] on top of functions

AndyGauge commented 5 years ago

We should not have to raise the minimum version to 1.27. See #265