From fbec232df1de37fce9badfe56c4a1d7c0050f3d5 Mon Sep 17 00:00:00 2001 From: Aaron Gallagher <_@habnab.it> Date: Mon, 11 Jul 2016 07:34:20 -0700 Subject: [PATCH] Set unwind_safe_lock_refs stability to 1.12.0. This is the first (and presumably only) use of this feature. --- src/libstd/panic.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libstd/panic.rs b/src/libstd/panic.rs index d5699fca85db..ba18d15f5c4e 100644 --- a/src/libstd/panic.rs +++ b/src/libstd/panic.rs @@ -227,10 +227,9 @@ impl !RefUnwindSafe for UnsafeCell {} #[stable(feature = "catch_unwind", since = "1.9.0")] impl RefUnwindSafe for AssertUnwindSafe {} -// 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 RefUnwindSafe for Mutex {} -#[stable(feature = "catch_unwind", since = "1.9.0")] +#[stable(feature = "unwind_safe_lock_refs", since = "1.12.0")] impl RefUnwindSafe for RwLock {} #[stable(feature = "catch_unwind", since = "1.9.0")]