tailhook / rust-quire

A YAML-based configuration library for Rust
https://docs.rs/quire/
Other
13 stars 5 forks source link

use of deprecated item 'std::error::Error::cause' #23

Open stappersg opened 4 years ago

stappersg commented 4 years ago

Reporting

warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
  --> src/errors.rs:18:1
   |
18 | / quick_error! {
19 | |     /// Single error when of parsing configuration file
20 | |     ///
21 | |     /// Usually you use `ErrorList` which embeds multiple errors encountered
...  |
64 | |     }
65 | | }
   | |_^
   |
   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
stappersg commented 4 years ago

Probably fixed by https://github.com/tailhook/quick-error/pull/45 but my current rust skill is not enough to verifiy it. I do hope that reporting this issue (and hinted possible solution) helps others.