grandfathered -> rust1

This commit is contained in:
Brian Anderson 2015-01-23 21:48:20 -08:00
parent b7fe2c54b7
commit b44ee371b8
102 changed files with 1490 additions and 1490 deletions

View file

@ -15,14 +15,14 @@
pub fn unstable() {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn stable() {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub mod stable_mod {
pub fn unstable() {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn stable() {}
}
@ -35,11 +35,11 @@ pub mod unstable_mod {
pub fn unstable() {}
}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub trait Stable {
fn unstable(&self);
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
fn stable(&self);
}
@ -50,6 +50,6 @@ impl Stable for uint {
pub enum Unstable {
UnstableVariant,
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
StableVariant
}

View file

@ -33,12 +33,12 @@ pub fn unstable_text() {}
pub fn unmarked() {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn stable() {}
#[stable(feature = "grandfathered", since = "1.0.0", reason = "text")]
#[stable(feature = "rust1", since = "1.0.0", reason = "text")]
pub fn stable_text() {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct MethodTester;
impl MethodTester {
@ -63,9 +63,9 @@ impl MethodTester {
pub fn method_unmarked(&self) {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn method_stable(&self) {}
#[stable(feature = "grandfathered", since = "1.0.0", reason = "text")]
#[stable(feature = "rust1", since = "1.0.0", reason = "text")]
pub fn method_stable_text(&self) {}
#[locked]
@ -101,9 +101,9 @@ pub trait Trait {
fn trait_unmarked(&self) {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
fn trait_stable(&self) {}
#[stable(feature = "grandfathered", since = "1.0.0", reason = "text")]
#[stable(feature = "rust1", since = "1.0.0", reason = "text")]
fn trait_stable_text(&self) {}
#[locked]
@ -131,7 +131,7 @@ pub struct DeprecatedUnstableStruct { pub i: int }
#[unstable(feature = "test_feature")]
pub struct UnstableStruct { pub i: int }
pub struct UnmarkedStruct { pub i: int }
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct StableStruct { pub i: int }
#[stable(feature = "test_feature", since = "1.0.0")]
@ -143,7 +143,7 @@ pub struct DeprecatedUnstableUnitStruct;
#[unstable(feature = "test_feature")]
pub struct UnstableUnitStruct;
pub struct UnmarkedUnitStruct;
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct StableUnitStruct;
pub enum Enum {
@ -157,7 +157,7 @@ pub enum Enum {
UnstableVariant,
UnmarkedVariant,
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
StableVariant,
}
@ -170,7 +170,7 @@ pub struct DeprecatedUnstableTupleStruct(pub int);
#[unstable(feature = "test_feature")]
pub struct UnstableTupleStruct(pub int);
pub struct UnmarkedTupleStruct(pub int);
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct StableTupleStruct(pub int);
#[macro_export]

View file

@ -13,7 +13,7 @@ struct Foo;
impl Foo {
fn foo() {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
} //~ ERROR expected `fn`, found `}`
fn main() {}

View file

@ -11,7 +11,7 @@
struct Foo;
impl Foo {
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
} //~ ERROR expected `fn`, found `}`
fn main() {}

View file

@ -185,12 +185,12 @@ mod this_crate {
pub fn unmarked() {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn stable() {}
#[stable(feature = "grandfathered", since = "1.0.0", reason = "text")]
#[stable(feature = "rust1", since = "1.0.0", reason = "text")]
pub fn stable_text() {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct MethodTester;
impl MethodTester {
@ -208,9 +208,9 @@ mod this_crate {
pub fn method_unmarked(&self) {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn method_stable(&self) {}
#[stable(feature = "grandfathered", since = "1.0.0", reason = "text")]
#[stable(feature = "rust1", since = "1.0.0", reason = "text")]
pub fn method_stable_text(&self) {}
}
@ -229,9 +229,9 @@ mod this_crate {
fn trait_unmarked(&self) {}
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
fn trait_stable(&self) {}
#[stable(feature = "grandfathered", since = "1.0.0", reason = "text")]
#[stable(feature = "rust1", since = "1.0.0", reason = "text")]
fn trait_stable_text(&self) {}
}
@ -243,7 +243,7 @@ mod this_crate {
#[unstable(feature = "test_feature")]
pub struct UnstableStruct { i: isize }
pub struct UnmarkedStruct { i: isize }
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct StableStruct { i: isize }
#[unstable(feature = "test_feature")]
@ -252,7 +252,7 @@ mod this_crate {
#[unstable(feature = "test_feature")]
pub struct UnstableUnitStruct;
pub struct UnmarkedUnitStruct;
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct StableUnitStruct;
pub enum Enum {
@ -263,7 +263,7 @@ mod this_crate {
UnstableVariant,
UnmarkedVariant,
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
StableVariant,
}
@ -273,7 +273,7 @@ mod this_crate {
#[unstable(feature = "test_feature")]
pub struct UnstableTupleStruct(isize);
pub struct UnmarkedTupleStruct(isize);
#[stable(feature = "grandfathered", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct StableTupleStruct(isize);
fn test() {