diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
commit | 218caa410aa38c29984be31a5229b9fa717560ee (patch) | |
tree | c54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/lint/auxiliary/lint_stability_fields.rs | |
parent | Releasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/lint/auxiliary/lint_stability_fields.rs')
-rw-r--r-- | src/test/ui/lint/auxiliary/lint_stability_fields.rs | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/src/test/ui/lint/auxiliary/lint_stability_fields.rs b/src/test/ui/lint/auxiliary/lint_stability_fields.rs deleted file mode 100644 index e72a501e1..000000000 --- a/src/test/ui/lint/auxiliary/lint_stability_fields.rs +++ /dev/null @@ -1,66 +0,0 @@ -#![feature(staged_api)] -#![stable(feature = "rust1", since = "1.0.0")] - -#[stable(feature = "rust1", since = "1.0.0")] -pub struct Stable { - pub inherit: u8, - #[unstable(feature = "unstable_test_feature", issue = "none")] - pub override1: u8, - #[deprecated(since = "1.0.0", note = "text")] - #[unstable(feature = "unstable_test_feature", issue = "none")] - pub override2: u8, - #[stable(feature = "rust2", since = "2.0.0")] - pub override3: u8, -} - -#[stable(feature = "rust1", since = "1.0.0")] -pub struct Stable2(#[stable(feature = "rust2", since = "2.0.0")] pub u8, - #[unstable(feature = "unstable_test_feature", issue = "none")] pub u8, - #[unstable(feature = "unstable_test_feature", issue = "none")] - #[deprecated(since = "1.0.0", note = "text")] pub u8, - 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, - #[deprecated(since = "1.0.0", note = "text")] - #[unstable(feature = "unstable_test_feature", issue = "none")] - Override3, -} - -#[unstable(feature = "unstable_test_feature", issue = "none")] -pub struct Unstable { - pub inherit: u8, - #[stable(feature = "rust1", since = "1.0.0")] - pub override1: u8, - #[deprecated(since = "1.0.0", note = "text")] - #[unstable(feature = "unstable_test_feature", issue = "none")] - pub override2: u8, -} - -#[unstable(feature = "unstable_test_feature", issue = "none")] -pub struct Unstable2(pub u8, - #[stable(feature = "rust1", since = "1.0.0")] pub u8, - #[unstable(feature = "unstable_test_feature", issue = "none")] - #[deprecated(since = "1.0.0", note = "text")] pub u8); - -#[unstable(feature = "unstable_test_feature", issue = "none")] -#[deprecated(since = "1.0.0", note = "text")] -pub struct Deprecated { - pub inherit: u8, - #[stable(feature = "rust1", since = "1.0.0")] - pub override1: u8, - #[unstable(feature = "unstable_test_feature", issue = "none")] - pub override2: u8, -} - -#[unstable(feature = "unstable_test_feature", issue = "none")] -#[deprecated(since = "1.0.0", note = "text")] -pub struct Deprecated2(pub u8, - #[stable(feature = "rust1", since = "1.0.0")] pub u8, - #[unstable(feature = "unstable_test_feature", issue = "none")] pub u8); |