]>
git.proxmox.com Git - rustc.git/blob - tests/ui/lint/auxiliary/lint_stability_fields.rs
1 #![feature(staged_api)]
2 #![stable(feature = "rust1", since = "1.0.0")]
4 #[stable(feature = "rust1", since = "1.0.0")]
7 #[unstable(feature = "unstable_test_feature", issue = "none")]
9 #[deprecated(since = "1.0.0", note = "text")]
10 #[unstable(feature = "unstable_test_feature", issue = "none")]
12 #[stable(feature = "rust2", since = "2.0.0")]
16 #[stable(feature = "rust1", since = "1.0.0")]
17 pub struct Stable2(#[stable(feature = "rust2", since = "2.0.0")] pub u8,
18 #[unstable(feature = "unstable_test_feature", issue = "none")] pub u8,
19 #[unstable(feature = "unstable_test_feature", issue = "none")]
20 #[deprecated(since = "1.0.0", note = "text")] pub u8,
23 #[stable(feature = "rust1", since = "1.0.0")]
26 InheritOverride(#[stable(feature = "rust2", since = "2.0.0")] u8),
27 #[stable(feature = "rust2", since = "2.0.0")]
29 #[unstable(feature = "unstable_test_feature", issue = "none")]
31 #[deprecated(since = "1.0.0", note = "text")]
32 #[unstable(feature = "unstable_test_feature", issue = "none")]
36 #[unstable(feature = "unstable_test_feature", issue = "none")]
39 #[stable(feature = "rust1", since = "1.0.0")]
41 #[deprecated(since = "1.0.0", note = "text")]
42 #[unstable(feature = "unstable_test_feature", issue = "none")]
46 #[unstable(feature = "unstable_test_feature", issue = "none")]
47 pub struct Unstable2(pub u8,
48 #[stable(feature = "rust1", since = "1.0.0")] pub u8,
49 #[unstable(feature = "unstable_test_feature", issue = "none")]
50 #[deprecated(since = "1.0.0", note = "text")] pub u8);
52 #[unstable(feature = "unstable_test_feature", issue = "none")]
53 #[deprecated(since = "1.0.0", note = "text")]
54 pub struct Deprecated
{
56 #[stable(feature = "rust1", since = "1.0.0")]
58 #[unstable(feature = "unstable_test_feature", issue = "none")]
62 #[unstable(feature = "unstable_test_feature", issue = "none")]
63 #[deprecated(since = "1.0.0", note = "text")]
64 pub struct Deprecated2(pub u8,
65 #[stable(feature = "rust1", since = "1.0.0")] pub u8,
66 #[unstable(feature = "unstable_test_feature", issue = "none")] pub u8);