8 pub use ::f1; //~ ERROR `f1` is only public within the crate, and cannot be re-exported outside
9 pub use ::S1; //~ ERROR `S1` is only public within the crate, and cannot be re-exported outside
10 pub use ::E1; //~ ERROR `E1` is only public within the crate, and cannot be re-exported outside
11 pub use ::E1::V; //~ ERROR `V` is only public within the crate, and cannot be re-exported outside
18 pub(crate) struct S2 {
23 pub use ::f2; //~ ERROR `f2` is only public within the crate, and cannot be re-exported outside
24 pub use ::S2; //~ ERROR `S2` is only public within the crate, and cannot be re-exported outside
25 pub use ::E2; //~ ERROR `E2` is only public within the crate, and cannot be re-exported outside
26 pub use ::E2::V; //~ ERROR `V` is only public within the crate, and cannot be re-exported outside
34 pub(crate) struct S3 {
39 pub use m3::f3; //~ ERROR `f3` is only public within the crate, and cannot be re-exported outside
40 pub use m3::S3; //~ ERROR `S3` is only public within the crate, and cannot be re-exported outside
41 pub use m3::E3; //~ ERROR `E3` is only public within the crate, and cannot be re-exported outside
42 pub use m3::E3::V; //~ ERROR `V` is only public within the crate, and cannot be re-exported outside
45 pub use ::f4 as f5; //~ ERROR `f4` is only public within the crate, and cannot be re-exported outside
51 pub(in crate::m10) fn f8() {}
53 pub use self::m::f6; //~ ERROR `f6` is private, and cannot be re-exported
54 pub use self::m::f7; //~ ERROR `f7` is only public within the crate, and cannot be re-exported outside
55 pub use self::m::f8; //~ ERROR `f8` is private, and cannot be re-exported
57 pub use m10::m::f6; //~ ERROR function `f6` is private
58 pub use m10::m::f7; //~ ERROR `f7` is only public within the crate, and cannot be re-exported outside
59 pub use m10::m::f8; //~ ERROR function `f8` is private
64 pub use m11::f9; //~ ERROR function `f9` is private