about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-27 11:42:29 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-27 20:37:36 +0530
commit5d4e01766bd0b3b171149d41effe5564caf0a38b (patch)
treeed4f5374ed8114ef813c415f8bfb6ca6e33de3a9 /src/libstd/sync
parentbd0d8e47e53f25bbd50418a0f117973c366c1b08 (diff)
parent060661d2b4a323c83a1bf043234eae8a344ff6aa (diff)
downloadrust-5d4e01766bd0b3b171149d41effe5564caf0a38b.tar.gz
rust-5d4e01766bd0b3b171149d41effe5564caf0a38b.zip
Rollup merge of #22803 - huonw:field-stability, r=alexcrichton
 We were recording stability attributes applied to fields in the
compiler, and even annotating it in the libs, but the compiler didn't
actually do the checks to give errors/warnings in user crates.

Details in the commit messages.
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/mpsc/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mpsc/mod.rs b/src/libstd/sync/mpsc/mod.rs
index 7bd1f3542eb..1310d476f8e 100644
--- a/src/libstd/sync/mpsc/mod.rs
+++ b/src/libstd/sync/mpsc/mod.rs
@@ -384,7 +384,7 @@ impl<T> !Sync for SyncSender<T> {}
 /// contains the data being sent as a payload so it can be recovered.
 #[stable(feature = "rust1", since = "1.0.0")]
 #[derive(PartialEq, Eq, Clone, Copy)]
-pub struct SendError<T>(pub T);
+pub struct SendError<T>(#[stable(feature = "rust1", since = "1.0.0")] pub T);
 
 /// An error returned from the `recv` function on a `Receiver`.
 ///