about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/ops.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs
index e5a51c98aca..6f8ac078807 100644
--- a/src/libcore/ops.rs
+++ b/src/libcore/ops.rs
@@ -1538,15 +1538,30 @@ impl<Idx: fmt::Debug> fmt::Debug for RangeTo<Idx> {
 #[unstable(feature = "inclusive_range", reason = "recently added, follows RFC", issue = "28237")]
 pub enum RangeInclusive<Idx> {
     /// Empty range (iteration has finished)
+    #[unstable(feature = "inclusive_range",
+               reason = "recently added, follows RFC",
+               issue = "28237")]
     Empty {
         /// The point at which iteration finished
+        #[unstable(feature = "inclusive_range",
+                   reason = "recently added, follows RFC",
+                   issue = "28237")]
         at: Idx
     },
     /// Non-empty range (iteration will yield value(s))
+    #[unstable(feature = "inclusive_range",
+               reason = "recently added, follows RFC",
+               issue = "28237")]
     NonEmpty {
         /// The lower bound of the range (inclusive).
+        #[unstable(feature = "inclusive_range",
+                   reason = "recently added, follows RFC",
+                   issue = "28237")]
         start: Idx,
         /// The upper bound of the range (inclusive).
+        #[unstable(feature = "inclusive_range",
+                   reason = "recently added, follows RFC",
+                   issue = "28237")]
         end: Idx,
     },
 }