rust/tests/ui/stability-attribute/auxiliary/stable-in-unstable-std.rs
2023-01-11 09:32:08 +00:00

12 lines
382 B
Rust

#![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;
}