about summary refs log tree commit diff
path: root/src/libsyntax/util
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-10-16 17:47:01 +0000
committerbors <bors@rust-lang.org>2015-10-16 17:47:01 +0000
commit747d951e883978e1d3b92bdca2cac5845869bb78 (patch)
tree544ada7e575544977e59eff325835c02b767415e /src/libsyntax/util
parent87e26efbf28ab23fceaf1bd7cd06bd8ad066de02 (diff)
parent704d598fac81c31e65b0718a63d402ba2fd2ac9d (diff)
downloadrust-747d951e883978e1d3b92bdca2cac5845869bb78.tar.gz
rust-747d951e883978e1d3b92bdca2cac5845869bb78.zip
Auto merge of #29014 - petrochenkov:stability, r=brson
Stricter checking of stability attributes + enforcement of their invariants at compile time
(+ removed dead file librustc_front/attr.rs)
I intended to enforce use of `reason` for unstable items as well (it normally presents for new items), but it turned out too intrusive, many older unstable items don't have `reason`s.

r? @aturon 
I'm studying how stability works and do some refactoring along the way, so it's probably not the last PR.
Diffstat (limited to 'src/libsyntax/util')
-rw-r--r--src/libsyntax/util/small_vector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/small_vector.rs b/src/libsyntax/util/small_vector.rs
index 5353d12b678..9743da15a47 100644
--- a/src/libsyntax/util/small_vector.rs
+++ b/src/libsyntax/util/small_vector.rs
@@ -129,7 +129,7 @@ impl<T> SmallVector<T> {
     }
 
     /// Deprecated: use `into_iter`.
-    #[unstable(feature = "rustc_private")]
+    #[unstable(feature = "rustc_private", issue = "0")]
     #[deprecated(since = "1.0.0", reason = "use into_iter")]
     pub fn move_iter(self) -> IntoIter<T> {
         self.into_iter()