2016-04-26 12:51:14 -05:00
|
|
|
#![feature(staged_api)]
|
|
|
|
#![stable(feature = "rust1", since = "1.0.0")]
|
|
|
|
|
|
|
|
#[stable(feature = "rust1", since = "1.0.0")]
|
|
|
|
pub struct Stable {
|
2020-04-23 13:15:04 -05:00
|
|
|
pub inherit: u8,
|
2019-12-21 05:16:18 -06:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
2016-04-26 12:51:14 -05:00
|
|
|
pub override1: u8,
|
2022-03-04 20:59:18 -06:00
|
|
|
#[deprecated(since = "1.0.0", note = "text")]
|
2019-12-21 05:16:18 -06:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
2016-04-26 12:51:14 -05:00
|
|
|
pub override2: u8,
|
2020-04-23 13:15:04 -05:00
|
|
|
#[stable(feature = "rust2", since = "2.0.0")]
|
|
|
|
pub override3: u8,
|
2016-04-26 12:51:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#[stable(feature = "rust1", since = "1.0.0")]
|
2020-04-23 13:15:04 -05:00
|
|
|
pub struct Stable2(#[stable(feature = "rust2", since = "2.0.0")] pub u8,
|
2019-12-21 05:16:18 -06:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")] pub u8,
|
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
2022-03-04 20:59:18 -06:00
|
|
|
#[deprecated(since = "1.0.0", note = "text")] pub u8,
|
2020-04-23 13:15:04 -05:00
|
|
|
pub u8);
|
|
|
|
|
|
|
|
#[stable(feature = "rust1", since = "1.0.0")]
|
|
|
|
pub enum Stable3 {
|
|
|
|
Inherit(u8),
|
|
|
|
InheritOverride(#[stable(feature = "rust2", since = "2.0.0")] u8),
|
|
|
|
#[stable(feature = "rust2", since = "2.0.0")]
|
|
|
|
Override1,
|
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
|
|
|
Override2,
|
2022-03-04 20:59:18 -06:00
|
|
|
#[deprecated(since = "1.0.0", note = "text")]
|
2020-04-23 13:15:04 -05:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
|
|
|
Override3,
|
|
|
|
}
|
2016-04-26 12:51:14 -05:00
|
|
|
|
2019-12-21 05:16:18 -06:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
2016-04-26 12:51:14 -05:00
|
|
|
pub struct Unstable {
|
|
|
|
pub inherit: u8,
|
|
|
|
#[stable(feature = "rust1", since = "1.0.0")]
|
|
|
|
pub override1: u8,
|
2022-03-04 20:59:18 -06:00
|
|
|
#[deprecated(since = "1.0.0", note = "text")]
|
2019-12-21 05:16:18 -06:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
2016-04-26 12:51:14 -05:00
|
|
|
pub override2: u8,
|
|
|
|
}
|
|
|
|
|
2019-12-21 05:16:18 -06:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
2016-04-26 12:51:14 -05:00
|
|
|
pub struct Unstable2(pub u8,
|
|
|
|
#[stable(feature = "rust1", since = "1.0.0")] pub u8,
|
2019-12-21 05:16:18 -06:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
2022-03-04 20:59:18 -06:00
|
|
|
#[deprecated(since = "1.0.0", note = "text")] pub u8);
|
2016-04-26 12:51:14 -05:00
|
|
|
|
2019-12-21 05:16:18 -06:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
2022-03-04 20:59:18 -06:00
|
|
|
#[deprecated(since = "1.0.0", note = "text")]
|
2016-04-26 12:51:14 -05:00
|
|
|
pub struct Deprecated {
|
|
|
|
pub inherit: u8,
|
|
|
|
#[stable(feature = "rust1", since = "1.0.0")]
|
|
|
|
pub override1: u8,
|
2019-12-21 05:16:18 -06:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
2016-04-26 12:51:14 -05:00
|
|
|
pub override2: u8,
|
|
|
|
}
|
|
|
|
|
2019-12-21 05:16:18 -06:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
2022-03-04 20:59:18 -06:00
|
|
|
#[deprecated(since = "1.0.0", note = "text")]
|
2016-04-26 12:51:14 -05:00
|
|
|
pub struct Deprecated2(pub u8,
|
|
|
|
#[stable(feature = "rust1", since = "1.0.0")] pub u8,
|
2019-12-21 05:16:18 -06:00
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")] pub u8);
|