diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-07 08:15:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-07 08:15:32 +0100 |
| commit | ca90c3d0a7f1f6564b3f4c799ede45e07cca99f3 (patch) | |
| tree | 6fdb06e0e8fc55fdc1bc16beb9bb1a6b3e9fe49d /src/libstd | |
| parent | 93a57cf3a816cc48c4cf422e963b6ce4a6b0caf5 (diff) | |
| parent | 9afbf28ef607b769dc666d93f371459aa727f1d7 (diff) | |
| download | rust-ca90c3d0a7f1f6564b3f4c799ede45e07cca99f3.tar.gz rust-ca90c3d0a7f1f6564b3f4c799ede45e07cca99f3.zip | |
Rollup merge of #69754 - Dylnuge:dylnuge/dep-version, r=Mark-Simulacrum
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. Fixes #69751
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" } |
