Skip to content

Commit f6fbf66

Browse files
committed
Mark RefUnwindSafe impls for stable atomic types as stable.
These impls were effectively stable. #[unstable] had no effect here, since both RefUnwindSafe and these types were already stable. These effectively became stable as soon as the types became stable, which was in 1.34.0.
1 parent e5c645f commit f6fbf66

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

library/std/src/panic.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,16 +232,16 @@ impl<T: ?Sized> RefUnwindSafe for RwLock<T> {}
232232
#[stable(feature = "unwind_safe_atomic_refs", since = "1.14.0")]
233233
impl RefUnwindSafe for atomic::AtomicIsize {}
234234
#[cfg(target_has_atomic_load_store = "8")]
235-
#[unstable(feature = "integer_atomics", issue = "32976")]
235+
#[stable(feature = "integer_atomics_stable", since = "1.34.0")]
236236
impl RefUnwindSafe for atomic::AtomicI8 {}
237237
#[cfg(target_has_atomic_load_store = "16")]
238-
#[unstable(feature = "integer_atomics", issue = "32976")]
238+
#[stable(feature = "integer_atomics_stable", since = "1.34.0")]
239239
impl RefUnwindSafe for atomic::AtomicI16 {}
240240
#[cfg(target_has_atomic_load_store = "32")]
241-
#[unstable(feature = "integer_atomics", issue = "32976")]
241+
#[stable(feature = "integer_atomics_stable", since = "1.34.0")]
242242
impl RefUnwindSafe for atomic::AtomicI32 {}
243243
#[cfg(target_has_atomic_load_store = "64")]
244-
#[unstable(feature = "integer_atomics", issue = "32976")]
244+
#[stable(feature = "integer_atomics_stable", since = "1.34.0")]
245245
impl RefUnwindSafe for atomic::AtomicI64 {}
246246
#[cfg(target_has_atomic_load_store = "128")]
247247
#[unstable(feature = "integer_atomics", issue = "32976")]
@@ -251,16 +251,16 @@ impl RefUnwindSafe for atomic::AtomicI128 {}
251251
#[stable(feature = "unwind_safe_atomic_refs", since = "1.14.0")]
252252
impl RefUnwindSafe for atomic::AtomicUsize {}
253253
#[cfg(target_has_atomic_load_store = "8")]
254-
#[unstable(feature = "integer_atomics", issue = "32976")]
254+
#[stable(feature = "integer_atomics_stable", since = "1.34.0")]
255255
impl RefUnwindSafe for atomic::AtomicU8 {}
256256
#[cfg(target_has_atomic_load_store = "16")]
257-
#[unstable(feature = "integer_atomics", issue = "32976")]
257+
#[stable(feature = "integer_atomics_stable", since = "1.34.0")]
258258
impl RefUnwindSafe for atomic::AtomicU16 {}
259259
#[cfg(target_has_atomic_load_store = "32")]
260-
#[unstable(feature = "integer_atomics", issue = "32976")]
260+
#[stable(feature = "integer_atomics_stable", since = "1.34.0")]
261261
impl RefUnwindSafe for atomic::AtomicU32 {}
262262
#[cfg(target_has_atomic_load_store = "64")]
263-
#[unstable(feature = "integer_atomics", issue = "32976")]
263+
#[stable(feature = "integer_atomics_stable", since = "1.34.0")]
264264
impl RefUnwindSafe for atomic::AtomicU64 {}
265265
#[cfg(target_has_atomic_load_store = "128")]
266266
#[unstable(feature = "integer_atomics", issue = "32976")]

0 commit comments

Comments
 (0)