1 error[E0603]: module `baz` is private
2 --> $DIR/privacy1.rs:132:18
4 LL | use bar::baz::{foo, bar};
5 | ^^^ this module is private
7 note: the module `baz` is defined here
8 --> $DIR/privacy1.rs:50:5
13 error[E0603]: module `baz` is private
14 --> $DIR/privacy1.rs:132:18
16 LL | use bar::baz::{foo, bar};
17 | ^^^ this module is private
19 note: the module `baz` is defined here
20 --> $DIR/privacy1.rs:50:5
25 error[E0603]: module `baz` is private
26 --> $DIR/privacy1.rs:141:18
29 | ^^^ this module is private
31 note: the module `baz` is defined here
32 --> $DIR/privacy1.rs:50:5
37 error[E0603]: module `i` is private
38 --> $DIR/privacy1.rs:165:20
40 LL | use self::foo::i::A;
41 | ^ this module is private
43 note: the module `i` is defined here
44 --> $DIR/privacy1.rs:170:9
49 error[E0603]: module `baz` is private
50 --> $DIR/privacy1.rs:104:16
52 LL | ::bar::baz::A::foo();
53 | ^^^ this module is private
55 note: the module `baz` is defined here
56 --> $DIR/privacy1.rs:50:5
61 error[E0603]: module `baz` is private
62 --> $DIR/privacy1.rs:105:16
64 LL | ::bar::baz::A::bar();
65 | ^^^ this module is private
67 note: the module `baz` is defined here
68 --> $DIR/privacy1.rs:50:5
73 error[E0603]: module `baz` is private
74 --> $DIR/privacy1.rs:107:16
76 LL | ::bar::baz::A.foo2();
77 | ^^^ this module is private
79 note: the module `baz` is defined here
80 --> $DIR/privacy1.rs:50:5
85 error[E0603]: module `baz` is private
86 --> $DIR/privacy1.rs:108:16
88 LL | ::bar::baz::A.bar2();
89 | ^^^ this module is private
91 note: the module `baz` is defined here
92 --> $DIR/privacy1.rs:50:5
97 error[E0603]: trait `B` is private
98 --> $DIR/privacy1.rs:112:16
100 LL | ::bar::B::foo();
101 | ^ this trait is private
103 note: the trait `B` is defined here
104 --> $DIR/privacy1.rs:40:5
109 error[E0603]: function `epriv` is private
110 --> $DIR/privacy1.rs:118:20
113 | ^^^^^ this function is private
115 note: the function `epriv` is defined here
116 --> $DIR/privacy1.rs:65:9
121 error[E0603]: module `baz` is private
122 --> $DIR/privacy1.rs:127:16
124 LL | ::bar::baz::foo();
125 | ^^^ this module is private
127 note: the module `baz` is defined here
128 --> $DIR/privacy1.rs:50:5
133 error[E0603]: module `baz` is private
134 --> $DIR/privacy1.rs:128:16
136 LL | ::bar::baz::bar();
137 | ^^^ this module is private
139 note: the module `baz` is defined here
140 --> $DIR/privacy1.rs:50:5
145 error[E0603]: trait `B` is private
146 --> $DIR/privacy1.rs:157:17
148 LL | impl ::bar::B for f32 { fn foo() -> f32 { 1.0 } }
149 | ^ this trait is private
151 note: the trait `B` is defined here
152 --> $DIR/privacy1.rs:40:5
157 error[E0624]: method `bar` is private
158 --> $DIR/privacy1.rs:77:9
160 LL | self::baz::A::bar();
163 error[E0624]: method `bar` is private
164 --> $DIR/privacy1.rs:95:5
169 error[E0624]: method `bar` is private
170 --> $DIR/privacy1.rs:102:9
172 LL | ::bar::A::bar();
175 error[E0624]: method `bar` is private
176 --> $DIR/privacy1.rs:105:9
178 LL | ::bar::baz::A::bar();
181 error[E0624]: method `bar2` is private
182 --> $DIR/privacy1.rs:108:23
184 LL | ::bar::baz::A.bar2();
187 error: aborting due to 18 previous errors
189 Some errors have detailed explanations: E0603, E0624.
190 For more information about an error, try `rustc --explain E0603`.