From 8ea7b88c9b8de8d750b42ceb46b3ec667e21e881 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Thu, 14 Jan 2016 17:08:35 +0300 Subject: Require stability annotations on fields of tuple variants --- src/libstd/sys/common/poison.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/sys/common') diff --git a/src/libstd/sys/common/poison.rs b/src/libstd/sys/common/poison.rs index 446a4445b2d..2cfa04c843b 100644 --- a/src/libstd/sys/common/poison.rs +++ b/src/libstd/sys/common/poison.rs @@ -71,7 +71,7 @@ pub enum TryLockError { /// The lock could not be acquired because another thread failed while holding /// the lock. #[stable(feature = "rust1", since = "1.0.0")] - Poisoned(PoisonError), + Poisoned(#[cfg_attr(not(stage0), stable(feature = "rust1", since = "1.0.0"))] PoisonError), /// The lock could not be acquired at this time because the operation would /// otherwise block. #[stable(feature = "rust1", since = "1.0.0")] -- cgit 1.4.1-3-g733a5