diff options
| author | Aaron Gallagher <_@habnab.it> | 2016-07-11 07:34:20 -0700 |
|---|---|---|
| committer | Aaron Gallagher <_@habnab.it> | 2016-07-11 07:34:20 -0700 |
| commit | fbec232df1de37fce9badfe56c4a1d7c0050f3d5 (patch) | |
| tree | fb91165d2e964bd092ce367efba536435ce7eab7 /src/libstd/panic.rs | |
| parent | c11540587f45826c76f33b7fbbb9a919a5af8ebd (diff) | |
| download | rust-fbec232df1de37fce9badfe56c4a1d7c0050f3d5.tar.gz rust-fbec232df1de37fce9badfe56c4a1d7c0050f3d5.zip | |
Set unwind_safe_lock_refs stability to 1.12.0.
This is the first (and presumably only) use of this feature.
Diffstat (limited to 'src/libstd/panic.rs')
| -rw-r--r-- | src/libstd/panic.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libstd/panic.rs b/src/libstd/panic.rs index d5699fca85d..ba18d15f5c4 100644 --- a/src/libstd/panic.rs +++ b/src/libstd/panic.rs @@ -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")] |
