about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan Nugent <dylnuge@gmail.com>2020-03-05 21:55:36 -0500
committerPietro Albini <pietro@pietroalbini.org>2020-03-09 13:07:46 +0100
commit21e4fa6b6dd5653aea6bde03760b4a521e604893 (patch)
treef975299d4ad34263f0f042f7cb0db60697e986b2
parentb08d07143d2b61777d341f8658281adc0f2ac809 (diff)
downloadrust-21e4fa6b6dd5653aea6bde03760b4a521e604893.tar.gz
rust-21e4fa6b6dd5653aea6bde03760b4a521e604893.zip
Update deprecation version to 1.42 for Error::description
Error::description is deprecated as of version 1.42, as the commit was
not in the release for 1.41.
-rw-r--r--src/libstd/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs
index b480581e21b..3f6501bc7b4 100644
--- a/src/libstd/error.rs
+++ b/src/libstd/error.rs
@@ -135,7 +135,7 @@ pub trait Error: Debug + Display {
     /// }
     /// ```
     #[stable(feature = "rust1", since = "1.0.0")]
-    #[rustc_deprecated(since = "1.41.0", reason = "use the Display impl or to_string()")]
+    #[rustc_deprecated(since = "1.42.0", reason = "use the Display impl or to_string()")]
     fn description(&self) -> &str {
         "description() is deprecated; use Display"
     }