summaryrefslogtreecommitdiffstats
path: root/src/test/ui/stability-attribute/auxiliary/stable-in-unstable-std.rs
blob: 28ad8c28da1589d73e7e98c2c6f2258ebe56e71b (plain)
1
2
3
4
5
6
7
8
9
10
11
#![feature(staged_api)]
#![feature(unstable_test_feature)]
#![stable(feature = "stable_test_feature", since = "1.2.0")]

extern crate stable_in_unstable_core;

#[stable(feature = "stable_test_feature", since = "1.2.0")]
pub mod old_stable_module {
    #[stable(feature = "stable_test_feature", since = "1.2.0")]
    pub use stable_in_unstable_core::new_unstable_module::OldTrait;
}