2021-09-18 15:52:43 -05:00
|
|
|
#![feature(staged_api)]
|
|
|
|
#![stable(feature = "stable_test_feature", since = "1.0.0")]
|
|
|
|
|
|
|
|
#[stable(feature = "stable_test_feature", since = "1.0.0")]
|
2021-10-27 19:55:44 -05:00
|
|
|
pub enum UnstableEnum {
|
2021-09-18 15:52:43 -05:00
|
|
|
#[stable(feature = "stable_test_feature", since = "1.0.0")]
|
|
|
|
Stable,
|
|
|
|
#[stable(feature = "stable_test_feature", since = "1.0.0")]
|
|
|
|
Stable2,
|
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
|
|
|
Unstable,
|
|
|
|
}
|
2021-10-27 19:55:44 -05:00
|
|
|
|
|
|
|
#[derive(Default)]
|
|
|
|
#[stable(feature = "stable_test_feature", since = "1.0.0")]
|
|
|
|
pub struct UnstableStruct {
|
|
|
|
#[stable(feature = "stable_test_feature", since = "1.0.0")]
|
|
|
|
pub stable: bool,
|
|
|
|
#[stable(feature = "stable_test_feature", since = "1.0.0")]
|
|
|
|
pub stable2: usize,
|
|
|
|
#[unstable(feature = "unstable_test_feature", issue = "none")]
|
|
|
|
pub unstable: u8,
|
|
|
|
}
|