]> git.lizzy.rs Git - rust.git/commitdiff
Set unwind_safe_lock_refs stability to 1.12.0.
authorAaron Gallagher <_@habnab.it>
Mon, 11 Jul 2016 14:34:20 +0000 (07:34 -0700)
committerAaron Gallagher <_@habnab.it>
Mon, 11 Jul 2016 14:34:20 +0000 (07:34 -0700)
This is the first (and presumably only) use of this feature.

src/libstd/panic.rs

index d5699fca85db4c402a98d792de97bd000edc6351..ba18d15f5c4e384a8be0eeb0c0d83f7442d5ba01 100644 (file)
@@ -227,10 +227,9 @@ impl<T: ?Sized> !RefUnwindSafe for UnsafeCell<T> {}
 #[stable(feature = "catch_unwind", since = "1.9.0")]
 impl<T> RefUnwindSafe for AssertUnwindSafe<T> {}
 
-// XXX: Obviously wrong, but what should it be?
-#[stable(feature = "catch_unwind", since = "1.9.0")]
+#[stable(feature = "unwind_safe_lock_refs", since = "1.12.0")]
 impl<T: ?Sized> RefUnwindSafe for Mutex<T> {}
-#[stable(feature = "catch_unwind", since = "1.9.0")]
+#[stable(feature = "unwind_safe_lock_refs", since = "1.12.0")]
 impl<T: ?Sized> RefUnwindSafe for RwLock<T> {}
 
 #[stable(feature = "catch_unwind", since = "1.9.0")]