about summary refs log tree commit diff
path: root/src/libsyntax/util
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-01-22 12:33:46 -0800
committerBrian Anderson <banderson@mozilla.com>2015-01-23 15:50:03 -0800
commit9758c488a94e77cc8a110a6783a99cf5b91326db (patch)
treeca5f2436cb4b9dc39aa7f525cf4a5fc9288d0ac7 /src/libsyntax/util
parentcd6d9eab5d75584edfcae4ffdef8b0836db80c1e (diff)
downloadrust-9758c488a94e77cc8a110a6783a99cf5b91326db.tar.gz
rust-9758c488a94e77cc8a110a6783a99cf5b91326db.zip
Deprecated attributes don't take 'feature' names and are paired with stable/unstable
Conflicts:
	src/libcore/atomic.rs
	src/libcore/finally.rs
	src/test/auxiliary/inherited_stability.rs
	src/test/auxiliary/lint_stability.rs
Diffstat (limited to 'src/libsyntax/util')
-rw-r--r--src/libsyntax/util/small_vector.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/util/small_vector.rs b/src/libsyntax/util/small_vector.rs
index 342fed1653d..22f2fb36fc8 100644
--- a/src/libsyntax/util/small_vector.rs
+++ b/src/libsyntax/util/small_vector.rs
@@ -112,7 +112,8 @@ impl<T> SmallVector<T> {
     }
 
     /// Deprecated: use `into_iter`.
-    #[deprecated(feature = "oldstuff", since = "1.0.0", reason = "use into_iter")]
+    #[unstable(feature = "rustc_private")]
+    #[deprecated(since = "1.0.0", reason = "use into_iter")]
     pub fn move_iter(self) -> IntoIter<T> {
         self.into_iter()
     }