]>
Commit | Line | Data |
---|---|---|
c34b1796 | 1 | #![feature(staged_api)] |
c34b1796 AL |
2 | #![stable(feature = "rust1", since = "1.0.0")] |
3 | ||
4 | #[stable(feature = "rust1", since = "1.0.0")] | |
5 | pub struct Stable { | |
6a06907d | 6 | pub inherit: u8, |
dfeec247 | 7 | #[unstable(feature = "unstable_test_feature", issue = "none")] |
c34b1796 | 8 | pub override1: u8, |
92a42be0 | 9 | #[rustc_deprecated(since = "1.0.0", reason = "text")] |
dfeec247 | 10 | #[unstable(feature = "unstable_test_feature", issue = "none")] |
c34b1796 | 11 | pub override2: u8, |
6a06907d XL |
12 | #[stable(feature = "rust2", since = "2.0.0")] |
13 | pub override3: u8, | |
c34b1796 AL |
14 | } |
15 | ||
16 | #[stable(feature = "rust1", since = "1.0.0")] | |
6a06907d | 17 | pub struct Stable2(#[stable(feature = "rust2", since = "2.0.0")] pub u8, |
dfeec247 XL |
18 | #[unstable(feature = "unstable_test_feature", issue = "none")] pub u8, |
19 | #[unstable(feature = "unstable_test_feature", issue = "none")] | |
6a06907d XL |
20 | #[rustc_deprecated(since = "1.0.0", reason = "text")] pub u8, |
21 | pub u8); | |
22 | ||
23 | #[stable(feature = "rust1", since = "1.0.0")] | |
24 | pub enum Stable3 { | |
25 | Inherit(u8), | |
26 | InheritOverride(#[stable(feature = "rust2", since = "2.0.0")] u8), | |
27 | #[stable(feature = "rust2", since = "2.0.0")] | |
28 | Override1, | |
29 | #[unstable(feature = "unstable_test_feature", issue = "none")] | |
30 | Override2, | |
31 | #[rustc_deprecated(since = "1.0.0", reason = "text")] | |
32 | #[unstable(feature = "unstable_test_feature", issue = "none")] | |
33 | Override3, | |
34 | } | |
c34b1796 | 35 | |
dfeec247 | 36 | #[unstable(feature = "unstable_test_feature", issue = "none")] |
c34b1796 AL |
37 | pub struct Unstable { |
38 | pub inherit: u8, | |
39 | #[stable(feature = "rust1", since = "1.0.0")] | |
40 | pub override1: u8, | |
92a42be0 | 41 | #[rustc_deprecated(since = "1.0.0", reason = "text")] |
dfeec247 | 42 | #[unstable(feature = "unstable_test_feature", issue = "none")] |
c34b1796 AL |
43 | pub override2: u8, |
44 | } | |
45 | ||
dfeec247 | 46 | #[unstable(feature = "unstable_test_feature", issue = "none")] |
c34b1796 AL |
47 | pub struct Unstable2(pub u8, |
48 | #[stable(feature = "rust1", since = "1.0.0")] pub u8, | |
dfeec247 | 49 | #[unstable(feature = "unstable_test_feature", issue = "none")] |
92a42be0 | 50 | #[rustc_deprecated(since = "1.0.0", reason = "text")] pub u8); |
c34b1796 | 51 | |
dfeec247 | 52 | #[unstable(feature = "unstable_test_feature", issue = "none")] |
92a42be0 | 53 | #[rustc_deprecated(since = "1.0.0", reason = "text")] |
c34b1796 AL |
54 | pub struct Deprecated { |
55 | pub inherit: u8, | |
56 | #[stable(feature = "rust1", since = "1.0.0")] | |
57 | pub override1: u8, | |
dfeec247 | 58 | #[unstable(feature = "unstable_test_feature", issue = "none")] |
c34b1796 AL |
59 | pub override2: u8, |
60 | } | |
61 | ||
dfeec247 | 62 | #[unstable(feature = "unstable_test_feature", issue = "none")] |
92a42be0 | 63 | #[rustc_deprecated(since = "1.0.0", reason = "text")] |
c34b1796 AL |
64 | pub struct Deprecated2(pub u8, |
65 | #[stable(feature = "rust1", since = "1.0.0")] pub u8, | |
dfeec247 | 66 | #[unstable(feature = "unstable_test_feature", issue = "none")] pub u8); |