rust-lang-deprecated / error-chain

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

trait objects without an explicit `dyn` are deprecated #262

Closed AndyGauge closed 5 years ago

AndyGauge commented 5 years ago
--> src/error_chain.rs:525:35 525 fn extract_backtrace(e: &(::std::error::Error + Send + 'static)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use dyn: dyn ::std::error::Error + Send + 'static
::: src/example_generated.rs:24:5 24 error_chain!{} -------------- in this macro invocation
= note: `-D bare-trait-objects` implied by `-D warnings`

error: trait objects without an explicit dyn are deprecated