Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 3a12427

Browse files
committed
allow deprecated Error::description
1 parent d31288b commit 3a12427

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/error_chain.rs

+1
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ macro_rules! impl_error_chain_processed {
301301
}
302302

303303
impl ::std::error::Error for $error_name {
304+
#[allow(deprecated)]
304305
fn description(&self) -> &str {
305306
self.description()
306307
}

0 commit comments

Comments
 (0)