2019-07-26 16:54:25 -05:00
|
|
|
// run-pass
|
|
|
|
|
2016-02-16 14:38:41 -06:00
|
|
|
#![feature(staged_api)]
|
|
|
|
#![stable(feature = "a", since = "b")]
|
2016-02-13 15:04:17 -06:00
|
|
|
|
2016-02-16 14:38:41 -06:00
|
|
|
mod inner_private_module {
|
|
|
|
// UnnameableTypeAlias isn't marked as reachable, so no stability annotation is required here
|
|
|
|
pub type UnnameableTypeAlias = u8;
|
2016-02-13 15:04:17 -06:00
|
|
|
}
|
|
|
|
|
2016-02-16 14:38:41 -06:00
|
|
|
#[stable(feature = "a", since = "b")]
|
|
|
|
pub fn f() -> inner_private_module::UnnameableTypeAlias {
|
|
|
|
0
|
2016-02-13 15:04:17 -06:00
|
|
|
}
|
2016-02-16 14:38:41 -06:00
|
|
|
|
|
|
|
fn main() {}
|