From b0e7c58bf020dde660af36f68eac8d0c1621d153 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Mon, 2 Mar 2015 18:04:11 +1100 Subject: [PATCH] Add missing stability attributes on struct fields. Unstable is the conservative choice. cc #22950. --- src/libcore/iter.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs index 88a729a3db09e..57a6613debd58 100644 --- a/src/libcore/iter.rs +++ b/src/libcore/iter.rs @@ -2061,6 +2061,7 @@ pub struct Scan { f: F, /// The current internal state to be passed to the closure next. + #[unstable(feature = "core")] pub state: St, } @@ -2338,6 +2339,7 @@ impl RandomAccessIterator for Inspect pub struct Unfold { f: F, /// Internal state that will be passed to the closure on the next iteration + #[unstable(feature = "core")] pub state: St, }