diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-11 17:27:05 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-12 14:55:17 -0700 |
| commit | 8d90d3f36871a00023cc1f313f91e351c287ca15 (patch) | |
| tree | 2d9b616a2468117aa3afe1f6b1f910ff3116776b /src/libgetopts/lib.rs | |
| parent | d07d465cf60033e35eba16b9e431471d54c712f4 (diff) | |
| download | rust-8d90d3f36871a00023cc1f313f91e351c287ca15.tar.gz rust-8d90d3f36871a00023cc1f313f91e351c287ca15.zip | |
Remove all unstable deprecated functionality
This commit removes all unstable and deprecated functions in the standard library. A release was recently cut (1.3) which makes this a good time for some spring cleaning of the deprecated functions.
Diffstat (limited to 'src/libgetopts/lib.rs')
| -rw-r--r-- | src/libgetopts/lib.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs index c9bd3c04fa9..d0f6c3be8ca 100644 --- a/src/libgetopts/lib.rs +++ b/src/libgetopts/lib.rs @@ -539,16 +539,6 @@ pub fn opt(short_name: &str, } } -impl Fail { - /// Convert a `Fail` enum into an error string. - #[unstable(feature = "rustc_private")] - #[deprecated(since = "1.0.0", - reason = "use `fmt::Display` (`{}` format specifier)")] - pub fn to_err_msg(self) -> String { - self.to_string() - } -} - impl fmt::Display for Fail { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { |
