blob: 7e71cb1f113b3c2666ef2cee8657940493795e26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//@ run-pass
#![feature(staged_api)]
#![stable(feature = "a", since = "3.3.3")]
mod inner_private_module {
// UnnameableTypeAlias isn't marked as reachable, so no stability annotation is required here
pub type UnnameableTypeAlias = u8;
}
#[stable(feature = "a", since = "3.3.3")]
pub fn f() -> inner_private_module::UnnameableTypeAlias {
0
}
fn main() {}
|