about summary refs log tree commit diff
path: root/src/libstd/sys/common
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2016-01-14 17:08:35 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2016-01-14 17:08:35 +0300
commit8ea7b88c9b8de8d750b42ceb46b3ec667e21e881 (patch)
treebaaec5bb999d03a1a4cd642a5f523a320014e987 /src/libstd/sys/common
parente1f550ebc299d5eadc073160cd3acb8de6c5d857 (diff)
downloadrust-8ea7b88c9b8de8d750b42ceb46b3ec667e21e881.tar.gz
rust-8ea7b88c9b8de8d750b42ceb46b3ec667e21e881.zip
Require stability annotations on fields of tuple variants
Diffstat (limited to 'src/libstd/sys/common')
-rw-r--r--src/libstd/sys/common/poison.rs2
1 files changed, 1 insertions, 1 deletions
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<T> {
     /// The lock could not be acquired because another thread failed while holding
     /// the lock.
     #[stable(feature = "rust1", since = "1.0.0")]
-    Poisoned(PoisonError<T>),
+    Poisoned(#[cfg_attr(not(stage0), stable(feature = "rust1", since = "1.0.0"))] PoisonError<T>),
     /// The lock could not be acquired at this time because the operation would
     /// otherwise block.
     #[stable(feature = "rust1", since = "1.0.0")]