Silence Error::cause deprecations (#10438)

This commit is contained in:
Andrew Jones
2019-03-02 12:18:18 +00:00
committed by Niklas Adolfsson
parent ed18c7b54c
commit 97cb010df8
5 changed files with 20 additions and 0 deletions

View File

@@ -16,6 +16,10 @@
//! General error types for use in ethcore.
// Silence: `use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting`
// https://github.com/paritytech/parity-ethereum/issues/10302
#![allow(deprecated)]
use std::{fmt, error};
use std::time::SystemTime;