mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-03 13:37:37 +00:00
Set unwind_safe_lock_refs stability to 1.12.0.
This is the first (and presumably only) use of this feature.
This commit is contained in:
parent
c11540587f
commit
fbec232df1
@ -227,10 +227,9 @@ impl<T: ?Sized> !RefUnwindSafe for UnsafeCell<T> {}
|
|||||||
#[stable(feature = "catch_unwind", since = "1.9.0")]
|
#[stable(feature = "catch_unwind", since = "1.9.0")]
|
||||||
impl<T> RefUnwindSafe for AssertUnwindSafe<T> {}
|
impl<T> RefUnwindSafe for AssertUnwindSafe<T> {}
|
||||||
|
|
||||||
// XXX: Obviously wrong, but what should it be?
|
#[stable(feature = "unwind_safe_lock_refs", since = "1.12.0")]
|
||||||
#[stable(feature = "catch_unwind", since = "1.9.0")]
|
|
||||||
impl<T: ?Sized> RefUnwindSafe for Mutex<T> {}
|
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> {}
|
impl<T: ?Sized> RefUnwindSafe for RwLock<T> {}
|
||||||
|
|
||||||
#[stable(feature = "catch_unwind", since = "1.9.0")]
|
#[stable(feature = "catch_unwind", since = "1.9.0")]
|
||||||
|
Loading…
Reference in New Issue
Block a user