1 #![stable(feature = "a", since = "b")]
2 //~^ ERROR stability attributes may not be used outside of the standard library
3 mod inner_private_module {
4 // UnnameableTypeAlias isn't marked as reachable, so no stability annotation is required here
5 pub type UnnameableTypeAlias = u8;
8 #[stable(feature = "a", since = "b")]
9 //~^ ERROR stability attributes may not be used outside of the standard library
10 pub fn f() -> inner_private_module::UnnameableTypeAlias {