]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0603]: module `baz` is private |
0731742a | 2 | --> $DIR/privacy1.rs:132:18 |
b7449926 XL |
3 | | |
4 | LL | use bar::baz::{foo, bar}; | |
ba9703b0 | 5 | | ^^^ private module |
dfeec247 XL |
6 | | |
7 | note: the module `baz` is defined here | |
8 | --> $DIR/privacy1.rs:50:5 | |
9 | | | |
10 | LL | mod baz { | |
11 | | ^^^^^^^ | |
12 | ||
13 | error[E0603]: module `baz` is private | |
14 | --> $DIR/privacy1.rs:132:18 | |
15 | | | |
16 | LL | use bar::baz::{foo, bar}; | |
ba9703b0 | 17 | | ^^^ private module |
dfeec247 XL |
18 | | |
19 | note: the module `baz` is defined here | |
20 | --> $DIR/privacy1.rs:50:5 | |
21 | | | |
22 | LL | mod baz { | |
23 | | ^^^^^^^ | |
b7449926 XL |
24 | |
25 | error[E0603]: module `baz` is private | |
dfeec247 | 26 | --> $DIR/privacy1.rs:141:18 |
b7449926 XL |
27 | | |
28 | LL | use bar::baz; | |
ba9703b0 | 29 | | ^^^ private module |
dfeec247 XL |
30 | | |
31 | note: the module `baz` is defined here | |
32 | --> $DIR/privacy1.rs:50:5 | |
33 | | | |
34 | LL | mod baz { | |
35 | | ^^^^^^^ | |
b7449926 XL |
36 | |
37 | error[E0603]: module `i` is private | |
dfeec247 | 38 | --> $DIR/privacy1.rs:165:20 |
b7449926 | 39 | | |
532ac7d7 | 40 | LL | use self::foo::i::A; |
ba9703b0 | 41 | | ^ private module |
dfeec247 XL |
42 | | |
43 | note: the module `i` is defined here | |
44 | --> $DIR/privacy1.rs:170:9 | |
45 | | | |
46 | LL | mod i { | |
47 | | ^^^^^ | |
b7449926 XL |
48 | |
49 | error[E0603]: module `baz` is private | |
0731742a | 50 | --> $DIR/privacy1.rs:104:16 |
b7449926 | 51 | | |
532ac7d7 | 52 | LL | ::bar::baz::A::foo(); |
ba9703b0 | 53 | | ^^^ private module |
dfeec247 XL |
54 | | |
55 | note: the module `baz` is defined here | |
56 | --> $DIR/privacy1.rs:50:5 | |
57 | | | |
58 | LL | mod baz { | |
59 | | ^^^^^^^ | |
b7449926 XL |
60 | |
61 | error[E0603]: module `baz` is private | |
0731742a | 62 | --> $DIR/privacy1.rs:105:16 |
b7449926 | 63 | | |
532ac7d7 | 64 | LL | ::bar::baz::A::bar(); |
ba9703b0 | 65 | | ^^^ private module |
dfeec247 XL |
66 | | |
67 | note: the module `baz` is defined here | |
68 | --> $DIR/privacy1.rs:50:5 | |
69 | | | |
70 | LL | mod baz { | |
71 | | ^^^^^^^ | |
b7449926 XL |
72 | |
73 | error[E0603]: module `baz` is private | |
0731742a | 74 | --> $DIR/privacy1.rs:107:16 |
b7449926 | 75 | | |
532ac7d7 | 76 | LL | ::bar::baz::A.foo2(); |
ba9703b0 | 77 | | ^^^ private module |
dfeec247 XL |
78 | | |
79 | note: the module `baz` is defined here | |
80 | --> $DIR/privacy1.rs:50:5 | |
81 | | | |
82 | LL | mod baz { | |
83 | | ^^^^^^^ | |
b7449926 XL |
84 | |
85 | error[E0603]: module `baz` is private | |
0731742a | 86 | --> $DIR/privacy1.rs:108:16 |
b7449926 | 87 | | |
532ac7d7 | 88 | LL | ::bar::baz::A.bar2(); |
ba9703b0 | 89 | | ^^^ private module |
dfeec247 XL |
90 | | |
91 | note: the module `baz` is defined here | |
92 | --> $DIR/privacy1.rs:50:5 | |
93 | | | |
94 | LL | mod baz { | |
95 | | ^^^^^^^ | |
b7449926 XL |
96 | |
97 | error[E0603]: trait `B` is private | |
0731742a | 98 | --> $DIR/privacy1.rs:112:16 |
b7449926 | 99 | | |
532ac7d7 | 100 | LL | ::bar::B::foo(); |
ba9703b0 | 101 | | ^ private trait |
dfeec247 XL |
102 | | |
103 | note: the trait `B` is defined here | |
104 | --> $DIR/privacy1.rs:40:5 | |
105 | | | |
106 | LL | trait B { | |
107 | | ^^^^^^^ | |
b7449926 XL |
108 | |
109 | error[E0603]: function `epriv` is private | |
0731742a | 110 | --> $DIR/privacy1.rs:118:20 |
b7449926 | 111 | | |
532ac7d7 | 112 | LL | ::bar::epriv(); |
ba9703b0 | 113 | | ^^^^^ private function |
dfeec247 XL |
114 | | |
115 | note: the function `epriv` is defined here | |
116 | --> $DIR/privacy1.rs:65:9 | |
117 | | | |
118 | LL | fn epriv(); | |
119 | | ^^^^^^^^^^^ | |
b7449926 XL |
120 | |
121 | error[E0603]: module `baz` is private | |
0731742a | 122 | --> $DIR/privacy1.rs:127:16 |
b7449926 | 123 | | |
532ac7d7 | 124 | LL | ::bar::baz::foo(); |
ba9703b0 | 125 | | ^^^ private module |
dfeec247 XL |
126 | | |
127 | note: the module `baz` is defined here | |
128 | --> $DIR/privacy1.rs:50:5 | |
129 | | | |
130 | LL | mod baz { | |
131 | | ^^^^^^^ | |
b7449926 XL |
132 | |
133 | error[E0603]: module `baz` is private | |
0731742a | 134 | --> $DIR/privacy1.rs:128:16 |
b7449926 | 135 | | |
532ac7d7 | 136 | LL | ::bar::baz::bar(); |
ba9703b0 | 137 | | ^^^ private module |
dfeec247 XL |
138 | | |
139 | note: the module `baz` is defined here | |
140 | --> $DIR/privacy1.rs:50:5 | |
141 | | | |
142 | LL | mod baz { | |
143 | | ^^^^^^^ | |
b7449926 XL |
144 | |
145 | error[E0603]: trait `B` is private | |
dfeec247 | 146 | --> $DIR/privacy1.rs:157:17 |
b7449926 XL |
147 | | |
148 | LL | impl ::bar::B for f32 { fn foo() -> f32 { 1.0 } } | |
ba9703b0 | 149 | | ^ private trait |
dfeec247 XL |
150 | | |
151 | note: the trait `B` is defined here | |
152 | --> $DIR/privacy1.rs:40:5 | |
153 | | | |
154 | LL | trait B { | |
155 | | ^^^^^^^ | |
b7449926 | 156 | |
ba9703b0 XL |
157 | error[E0624]: associated function `bar` is private |
158 | --> $DIR/privacy1.rs:77:23 | |
b7449926 | 159 | | |
532ac7d7 | 160 | LL | self::baz::A::bar(); |
ba9703b0 | 161 | | ^^^ private associated function |
b7449926 | 162 | |
ba9703b0 XL |
163 | error[E0624]: associated function `bar` is private |
164 | --> $DIR/privacy1.rs:95:13 | |
b7449926 | 165 | | |
532ac7d7 | 166 | LL | bar::A::bar(); |
ba9703b0 | 167 | | ^^^ private associated function |
b7449926 | 168 | |
ba9703b0 XL |
169 | error[E0624]: associated function `bar` is private |
170 | --> $DIR/privacy1.rs:102:19 | |
b7449926 | 171 | | |
532ac7d7 | 172 | LL | ::bar::A::bar(); |
ba9703b0 | 173 | | ^^^ private associated function |
b7449926 | 174 | |
ba9703b0 XL |
175 | error[E0624]: associated function `bar` is private |
176 | --> $DIR/privacy1.rs:105:24 | |
b7449926 | 177 | | |
532ac7d7 | 178 | LL | ::bar::baz::A::bar(); |
ba9703b0 | 179 | | ^^^ private associated function |
b7449926 | 180 | |
ba9703b0 | 181 | error[E0624]: associated function `bar2` is private |
0731742a | 182 | --> $DIR/privacy1.rs:108:23 |
b7449926 | 183 | | |
532ac7d7 | 184 | LL | ::bar::baz::A.bar2(); |
ba9703b0 | 185 | | ^^^^ private associated function |
b7449926 | 186 | |
dfeec247 | 187 | error: aborting due to 18 previous errors |
b7449926 | 188 | |
48663c56 | 189 | Some errors have detailed explanations: E0603, E0624. |
b7449926 | 190 | For more information about an error, try `rustc --explain E0603`. |