diff --git a/.travis.yml b/.travis.yml index 1b629b175..aa893e684 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ rust: # rustc-demangle uses feature `rename-dependency` - 1.32.0 # Oldest supported version as dependency, with no features, tests, or examples. -- 1.13.0 +- 1.27.0 sudo: false cache: cargo @@ -44,4 +44,4 @@ env: matrix: exclude: - env: FEATURES=--features=backtrace - rust: 1.13.0 + rust: 1.27.0 diff --git a/src/error_chain.rs b/src/error_chain.rs index 18a352e94..139293e6f 100644 --- a/src/error_chain.rs +++ b/src/error_chain.rs @@ -301,10 +301,6 @@ macro_rules! impl_error_chain_processed { } impl ::std::error::Error for $error_name { - fn description(&self) -> &str { - self.description() - } - impl_error_chain_cause_or_source!{ types { $error_kind_name @@ -369,7 +365,7 @@ macro_rules! impl_error_chain_processed { $( $(#[$meta_foreign_links])* $foreign_link_variant(err: $foreign_link_error_path) { - description(::std::error::Error::description(err)) + description("") display("{}", err) } ) *