diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-01-14 17:08:35 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-01-14 17:08:35 +0300 |
| commit | 8ea7b88c9b8de8d750b42ceb46b3ec667e21e881 (patch) | |
| tree | baaec5bb999d03a1a4cd642a5f523a320014e987 /src/libstd/sync/mpsc | |
| parent | e1f550ebc299d5eadc073160cd3acb8de6c5d857 (diff) | |
| download | rust-8ea7b88c9b8de8d750b42ceb46b3ec667e21e881.tar.gz rust-8ea7b88c9b8de8d750b42ceb46b3ec667e21e881.zip | |
Require stability annotations on fields of tuple variants
Diffstat (limited to 'src/libstd/sync/mpsc')
| -rw-r--r-- | src/libstd/sync/mpsc/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sync/mpsc/mod.rs b/src/libstd/sync/mpsc/mod.rs index e87ae19c583..3eb5db09bc0 100644 --- a/src/libstd/sync/mpsc/mod.rs +++ b/src/libstd/sync/mpsc/mod.rs @@ -385,12 +385,12 @@ pub enum TrySendError<T> { /// this is not a buffered channel, then there is no receiver available to /// acquire the data. #[stable(feature = "rust1", since = "1.0.0")] - Full(T), + Full(#[cfg_attr(not(stage0), stable(feature = "rust1", since = "1.0.0"))] T), /// This channel's receiving half has disconnected, so the data could not be /// sent. The data is returned back to the callee in this case. #[stable(feature = "rust1", since = "1.0.0")] - Disconnected(T), + Disconnected(#[cfg_attr(not(stage0), stable(feature = "rust1", since = "1.0.0"))] T), } enum Flavor<T> { |
