about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-01-21 16:15:40 -0800
committerBrian Anderson <banderson@mozilla.com>2015-01-21 19:25:55 -0800
commit41278c5441f484a68a20ca12d93cab368a2a943f (patch)
treeaf1a988123f3917e1e83206a1d083ff34bfcbbb7 /src/test
parent0768892abee31e1f8065deb4c61f0a88a682b17a (diff)
downloadrust-41278c5441f484a68a20ca12d93cab368a2a943f.tar.gz
rust-41278c5441f484a68a20ca12d93cab368a2a943f.zip
Remove 'since' from unstable attributes
Diffstat (limited to 'src/test')
-rw-r--r--src/test/auxiliary/inherited_stability.rs4
-rwxr-xr-xsrc/test/auxiliary/lint_output_format.rs6
-rw-r--r--src/test/auxiliary/lint_stability.rs22
-rw-r--r--src/test/auxiliary/stability_cfg2.rs2
-rw-r--r--src/test/compile-fail/lint-stability.rs20
5 files changed, 27 insertions, 27 deletions
diff --git a/src/test/auxiliary/inherited_stability.rs b/src/test/auxiliary/inherited_stability.rs
index ada75c0e149..cfe201a87b3 100644
--- a/src/test/auxiliary/inherited_stability.rs
+++ b/src/test/auxiliary/inherited_stability.rs
@@ -9,7 +9,7 @@
 // except according to those terms.
 #![crate_name="inherited_stability"]
 #![crate_type = "lib"]
-#![unstable(feature = "unnamed_feature", since = "1.0.0")]
+#![unstable(feature = "unnamed_feature")]
 #![staged_api]
 
 pub fn unstable() {}
@@ -25,7 +25,7 @@ pub mod stable_mod {
     pub fn stable() {}
 }
 
-#[unstable(feature = "unnamed_feature", since = "1.0.0")]
+#[unstable(feature = "unnamed_feature")]
 pub mod unstable_mod {
     #[deprecated(feature = "unnamed_feature", since = "1.0.0")]
     pub fn deprecated() {}
diff --git a/src/test/auxiliary/lint_output_format.rs b/src/test/auxiliary/lint_output_format.rs
index e47d1eeb401..2962ff88b21 100755
--- a/src/test/auxiliary/lint_output_format.rs
+++ b/src/test/auxiliary/lint_output_format.rs
@@ -11,19 +11,19 @@
 #![crate_name="lint_output_format"]
 #![crate_type = "lib"]
 #![staged_api]
-#![unstable(feature = "unnamed_feature", since = "1.0.0")]
+#![unstable(feature = "unnamed_feature")]
 
 #[deprecated(feature = "oldstuff", since = "1.0.0")]
 pub fn foo() -> uint {
     20
 }
 
-#[unstable(feature = "unnamed_feature", since = "1.0.0")]
+#[unstable(feature = "unnamed_feature")]
 pub fn bar() -> uint {
     40
 }
 
-#[unstable(feature = "unnamed_feature", since = "1.0.0")]
+#[unstable(feature = "unnamed_feature")]
 pub fn baz() -> uint {
     30
 }
diff --git a/src/test/auxiliary/lint_stability.rs b/src/test/auxiliary/lint_stability.rs
index 31746c062b5..915fe661ee5 100644
--- a/src/test/auxiliary/lint_stability.rs
+++ b/src/test/auxiliary/lint_stability.rs
@@ -16,9 +16,9 @@ pub fn deprecated() {}
 #[deprecated(feature = "oldstuff", since = "1.0.0", reason = "text")]
 pub fn deprecated_text() {}
 
-#[unstable(feature = "unnamed_feature", since = "1.0.0")]
+#[unstable(feature = "unnamed_feature")]
 pub fn unstable() {}
-#[unstable(feature = "unnamed_feature", since = "1.0.0", reason = "text")]
+#[unstable(feature = "unnamed_feature", reason = "text")]
 pub fn unstable_text() {}
 
 pub fn unmarked() {}
@@ -37,9 +37,9 @@ impl MethodTester {
     #[deprecated(feature = "oldstuff", since = "1.0.0", reason = "text")]
     pub fn method_deprecated_text(&self) {}
 
-    #[unstable(feature = "unnamed_feature", since = "1.0.0")]
+    #[unstable(feature = "unnamed_feature")]
     pub fn method_unstable(&self) {}
-    #[unstable(feature = "unnamed_feature", since = "1.0.0", reason = "text")]
+    #[unstable(feature = "unnamed_feature", reason = "text")]
     pub fn method_unstable_text(&self) {}
 
     pub fn method_unmarked(&self) {}
@@ -66,9 +66,9 @@ pub trait Trait {
     #[deprecated(feature = "oldstuff", since = "1.0.0", reason = "text")]
     fn trait_deprecated_text(&self) {}
 
-    #[unstable(feature = "unnamed_feature", since = "1.0.0")]
+    #[unstable(feature = "unnamed_feature")]
     fn trait_unstable(&self) {}
-    #[unstable(feature = "unnamed_feature", since = "1.0.0", reason = "text")]
+    #[unstable(feature = "unnamed_feature", reason = "text")]
     fn trait_unstable_text(&self) {}
 
     fn trait_unmarked(&self) {}
@@ -91,12 +91,12 @@ pub trait Trait {
 
 impl Trait for MethodTester {}
 
-#[unstable(feature = "unnamed_feature", since = "1.0.0")]
+#[unstable(feature = "unnamed_feature")]
 pub trait UnstableTrait {}
 
 #[deprecated(feature = "oldstuff", since = "1.0.0")]
 pub struct DeprecatedStruct { pub i: int }
-#[unstable(feature = "unnamed_feature", since = "1.0.0")]
+#[unstable(feature = "unnamed_feature")]
 pub struct UnstableStruct { pub i: int }
 pub struct UnmarkedStruct { pub i: int }
 #[stable(feature = "grandfathered", since = "1.0.0")]
@@ -104,7 +104,7 @@ pub struct StableStruct { pub i: int }
 
 #[deprecated(feature = "oldstuff", since = "1.0.0")]
 pub struct DeprecatedUnitStruct;
-#[unstable(feature = "unnamed_feature", since = "1.0.0")]
+#[unstable(feature = "unnamed_feature")]
 pub struct UnstableUnitStruct;
 pub struct UnmarkedUnitStruct;
 #[stable(feature = "grandfathered", since = "1.0.0")]
@@ -113,7 +113,7 @@ pub struct StableUnitStruct;
 pub enum Enum {
     #[deprecated(feature = "oldstuff", since = "1.0.0")]
     DeprecatedVariant,
-    #[unstable(feature = "unnamed_feature", since = "1.0.0")]
+    #[unstable(feature = "unnamed_feature")]
     UnstableVariant,
 
     UnmarkedVariant,
@@ -123,7 +123,7 @@ pub enum Enum {
 
 #[deprecated(feature = "oldstuff", since = "1.0.0")]
 pub struct DeprecatedTupleStruct(pub int);
-#[unstable(feature = "unnamed_feature", since = "1.0.0")]
+#[unstable(feature = "unnamed_feature")]
 pub struct UnstableTupleStruct(pub int);
 pub struct UnmarkedTupleStruct(pub int);
 #[stable(feature = "grandfathered", since = "1.0.0")]
diff --git a/src/test/auxiliary/stability_cfg2.rs b/src/test/auxiliary/stability_cfg2.rs
index 19fa7a4f988..d694f2154c6 100644
--- a/src/test/auxiliary/stability_cfg2.rs
+++ b/src/test/auxiliary/stability_cfg2.rs
@@ -10,6 +10,6 @@
 
 // compile-flags:--cfg foo
 
-#![cfg_attr(foo, unstable(feature = "unnamed_feature", since = "1.0.0"))]
+#![cfg_attr(foo, unstable(feature = "unnamed_feature"))]
 #![cfg_attr(not(foo), stable(feature = "unnamed_feature", since = "1.0.0"))]
 #![staged_api]
diff --git a/src/test/compile-fail/lint-stability.rs b/src/test/compile-fail/lint-stability.rs
index 130b396387c..dd3b2754419 100644
--- a/src/test/compile-fail/lint-stability.rs
+++ b/src/test/compile-fail/lint-stability.rs
@@ -143,9 +143,9 @@ mod this_crate {
     #[deprecated(feature = "oldstuff", since = "1.0.0", reason = "text")]
     pub fn deprecated_text() {}
 
-    #[unstable(feature = "unnamed_feature", since = "1.0.0")]
+    #[unstable(feature = "unnamed_feature")]
     pub fn unstable() {}
-    #[unstable(feature = "unnamed_feature", since = "1.0.0", reason = "text")]
+    #[unstable(feature = "unnamed_feature", reason = "text")]
     pub fn unstable_text() {}
 
     pub fn unmarked() {}
@@ -164,9 +164,9 @@ mod this_crate {
         #[deprecated(feature = "oldstuff", since = "1.0.0", reason = "text")]
         pub fn method_deprecated_text(&self) {}
 
-        #[unstable(feature = "unnamed_feature", since = "1.0.0")]
+        #[unstable(feature = "unnamed_feature")]
         pub fn method_unstable(&self) {}
-        #[unstable(feature = "unnamed_feature", since = "1.0.0", reason = "text")]
+        #[unstable(feature = "unnamed_feature", reason = "text")]
         pub fn method_unstable_text(&self) {}
 
         pub fn method_unmarked(&self) {}
@@ -183,9 +183,9 @@ mod this_crate {
         #[deprecated(feature = "oldstuff", since = "1.0.0", reason = "text")]
         fn trait_deprecated_text(&self) {}
 
-        #[unstable(feature = "unnamed_feature", since = "1.0.0")]
+        #[unstable(feature = "unnamed_feature")]
         fn trait_unstable(&self) {}
-        #[unstable(feature = "unnamed_feature", since = "1.0.0", reason = "text")]
+        #[unstable(feature = "unnamed_feature", reason = "text")]
         fn trait_unstable_text(&self) {}
 
         fn trait_unmarked(&self) {}
@@ -200,7 +200,7 @@ mod this_crate {
 
     #[deprecated(feature = "oldstuff", since = "1.0.0")]
     pub struct DeprecatedStruct { i: isize }
-    #[unstable(feature = "unnamed_feature", since = "1.0.0")]
+    #[unstable(feature = "unnamed_feature")]
     pub struct UnstableStruct { i: isize }
     pub struct UnmarkedStruct { i: isize }
     #[stable(feature = "grandfathered", since = "1.0.0")]
@@ -208,7 +208,7 @@ mod this_crate {
 
     #[deprecated(feature = "oldstuff", since = "1.0.0")]
     pub struct DeprecatedUnitStruct;
-    #[unstable(feature = "unnamed_feature", since = "1.0.0")]
+    #[unstable(feature = "unnamed_feature")]
     pub struct UnstableUnitStruct;
     pub struct UnmarkedUnitStruct;
     #[stable(feature = "grandfathered", since = "1.0.0")]
@@ -217,7 +217,7 @@ mod this_crate {
     pub enum Enum {
         #[deprecated(feature = "oldstuff", since = "1.0.0")]
         DeprecatedVariant,
-        #[unstable(feature = "unnamed_feature", since = "1.0.0")]
+        #[unstable(feature = "unnamed_feature")]
         UnstableVariant,
 
         UnmarkedVariant,
@@ -227,7 +227,7 @@ mod this_crate {
 
     #[deprecated(feature = "oldstuff", since = "1.0.0")]
     pub struct DeprecatedTupleStruct(isize);
-    #[unstable(feature = "unnamed_feature", since = "1.0.0")]
+    #[unstable(feature = "unnamed_feature")]
     pub struct UnstableTupleStruct(isize);
     pub struct UnmarkedTupleStruct(isize);
     #[stable(feature = "grandfathered", since = "1.0.0")]