about summary refs log tree commit diff
path: root/src/libstd/panic.rs
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2016-03-18 09:13:55 -0700
committerSteven Fackler <sfackler@gmail.com>2016-03-18 09:13:55 -0700
commitb3ade68f270969d5f3fc2c332ad8adef675110cc (patch)
treeb4571b260c71bac70c44f89a681a392c26a5d84c /src/libstd/panic.rs
parent74d00bde8ee55c26683bd788df439a9c29b7042e (diff)
downloadrust-b3ade68f270969d5f3fc2c332ad8adef675110cc.tar.gz
rust-b3ade68f270969d5f3fc2c332ad8adef675110cc.zip
Add a since to deprecations
Diffstat (limited to 'src/libstd/panic.rs')
-rw-r--r--src/libstd/panic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/panic.rs b/src/libstd/panic.rs
index c29a57b096c..ced77857188 100644
--- a/src/libstd/panic.rs
+++ b/src/libstd/panic.rs
@@ -216,14 +216,14 @@ impl<T> RefRecoverSafe for AssertRecoverSafe<T> {}
 impl<T> AssertRecoverSafe<T> {
     /// Creates a new `AssertRecoverSafe` wrapper around the provided type.
     #[unstable(feature = "recover", reason = "awaiting feedback", issue = "27719")]
-    #[rustc_deprecated(reason = "the type's field is now public, construct it directly")]
+    #[rustc_deprecated(reason = "the type's field is now public, construct it directly", since = "1.9.0")]
     pub fn new(t: T) -> AssertRecoverSafe<T> {
         AssertRecoverSafe(t)
     }
 
     /// Consumes the `AssertRecoverSafe`, returning the wrapped value.
     #[unstable(feature = "recover", reason = "awaiting feedback", issue = "27719")]
-    #[rustc_deprecated(reason = "the type's field is now public, access it directly")]
+    #[rustc_deprecated(reason = "the type's field is now public, access it directly", since = "1.9.0)]
     pub fn into_inner(self) -> T {
         self.0
     }