2 #![feature(staged_api)]
3 #![feature(rustc_attrs)]
4 #![stable(feature = "stable_test_feature", since = "1.2.0")]
6 #[unstable(feature = "unstable_test_feature", issue = "1")]
7 pub mod unstable_module
{
8 #[stable(feature = "stable_test_feature", since = "1.2.0")]
9 #[rustc_allowed_through_unstable_modules]
10 pub trait OldStableTraitAllowedThoughUnstable {}
12 #[stable(feature = "stable_test_feature", since = "1.2.0")]
13 pub trait NewStableTraitNotAllowedThroughUnstable {}