diff options
| author | Dylan Nugent <dylnuge@gmail.com> | 2020-03-05 21:55:36 -0500 |
|---|---|---|
| committer | Dylan Nugent <dylnuge@gmail.com> | 2020-03-05 21:55:36 -0500 |
| commit | 9afbf28ef607b769dc666d93f371459aa727f1d7 (patch) | |
| tree | 47f1305b5f5dc4bd92449b9fd765224bbbf4a125 /src/libstd | |
| parent | b818ccc74c993d41286731f67ce1e2bc2a3f1918 (diff) | |
| download | rust-9afbf28ef607b769dc666d93f371459aa727f1d7.tar.gz rust-9afbf28ef607b769dc666d93f371459aa727f1d7.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.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/error.rs | 2 |
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" } |
