]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0423]: expected value, found type alias `m1::S` |
0731742a | 2 | --> $DIR/namespace-mix.rs:34:11 |
b7449926 | 3 | | |
e74abb32 XL |
4 | LL | pub struct TS(); |
5 | | ---------------- similarly named tuple struct `TS` defined here | |
6 | ... | |
532ac7d7 | 7 | LL | check(m1::S); |
0731742a | 8 | | ^^^^^ |
b7449926 XL |
9 | | |
10 | = note: can't use a type alias as a constructor | |
0731742a XL |
11 | help: a tuple struct with a similar name exists |
12 | | | |
532ac7d7 | 13 | LL | check(m1::TS); |
0731742a | 14 | | ^^ |
f9f354fc | 15 | help: consider importing one of these items instead |
b7449926 XL |
16 | | |
17 | LL | use m2::S; | |
18 | | | |
f035d41b | 19 | LL | use xm2::S; |
b7449926 XL |
20 | | |
21 | ||
22 | error[E0423]: expected value, found type alias `xm1::S` | |
0731742a | 23 | --> $DIR/namespace-mix.rs:40:11 |
b7449926 | 24 | | |
532ac7d7 | 25 | LL | check(xm1::S); |
0731742a | 26 | | ^^^^^^ |
dfeec247 XL |
27 | | |
28 | ::: $DIR/auxiliary/namespace-mix.rs:3:5 | |
29 | | | |
30 | LL | pub struct TS(); | |
31 | | ---------------- similarly named tuple struct `TS` defined here | |
b7449926 XL |
32 | | |
33 | = note: can't use a type alias as a constructor | |
0731742a XL |
34 | help: a tuple struct with a similar name exists |
35 | | | |
532ac7d7 | 36 | LL | check(xm1::TS); |
0731742a | 37 | | ^^ |
f9f354fc | 38 | help: consider importing one of these items instead |
b7449926 XL |
39 | | |
40 | LL | use m2::S; | |
41 | | | |
f035d41b | 42 | LL | use xm2::S; |
b7449926 XL |
43 | | |
44 | ||
45 | error[E0423]: expected value, found struct variant `m7::V` | |
0731742a | 46 | --> $DIR/namespace-mix.rs:100:11 |
b7449926 | 47 | | |
e74abb32 XL |
48 | LL | V {}, |
49 | | ---- `m7::V` defined here | |
50 | LL | TV(), | |
51 | | ---- similarly named tuple variant `TV` defined here | |
52 | ... | |
532ac7d7 | 53 | LL | check(m7::V); |
0731742a | 54 | | ^^^^^ did you mean `m7::V { /* fields */ }`? |
e74abb32 | 55 | | |
0731742a XL |
56 | help: a tuple variant with a similar name exists |
57 | | | |
532ac7d7 | 58 | LL | check(m7::TV); |
0731742a | 59 | | ^^ |
f9f354fc | 60 | help: consider importing one of these items instead |
b7449926 XL |
61 | | |
62 | LL | use m8::V; | |
63 | | | |
f035d41b | 64 | LL | use xm8::V; |
b7449926 XL |
65 | | |
66 | ||
67 | error[E0423]: expected value, found struct variant `xm7::V` | |
0731742a | 68 | --> $DIR/namespace-mix.rs:106:11 |
b7449926 | 69 | | |
532ac7d7 | 70 | LL | check(xm7::V); |
0731742a | 71 | | ^^^^^^ did you mean `xm7::V { /* fields */ }`? |
dfeec247 XL |
72 | | |
73 | ::: $DIR/auxiliary/namespace-mix.rs:7:9 | |
74 | | | |
75 | LL | TV(), | |
76 | | ---- similarly named tuple variant `TV` defined here | |
e74abb32 | 77 | | |
0731742a XL |
78 | help: a tuple variant with a similar name exists |
79 | | | |
532ac7d7 | 80 | LL | check(xm7::TV); |
0731742a | 81 | | ^^ |
f9f354fc | 82 | help: consider importing one of these items instead |
b7449926 XL |
83 | | |
84 | LL | use m8::V; | |
85 | | | |
f035d41b | 86 | LL | use xm8::V; |
b7449926 XL |
87 | | |
88 | ||
89 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 90 | --> $DIR/namespace-mix.rs:33:11 |
b7449926 XL |
91 | | |
92 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 93 | | ---------- required by this bound in `check` |
e1599b0c XL |
94 | ... |
95 | LL | check(m1::S{}); | |
96 | | ^^^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 XL |
97 | |
98 | error[E0277]: the trait bound `c::S: Impossible` is not satisfied | |
e1599b0c | 99 | --> $DIR/namespace-mix.rs:35:11 |
b7449926 XL |
100 | | |
101 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 102 | | ---------- required by this bound in `check` |
e1599b0c XL |
103 | ... |
104 | LL | check(m2::S{}); | |
105 | | ^^^^^^^ the trait `Impossible` is not implemented for `c::S` | |
b7449926 XL |
106 | |
107 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 108 | --> $DIR/namespace-mix.rs:36:11 |
b7449926 XL |
109 | | |
110 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 111 | | ---------- required by this bound in `check` |
e1599b0c XL |
112 | ... |
113 | LL | check(m2::S); | |
114 | | ^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 XL |
115 | |
116 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 117 | --> $DIR/namespace-mix.rs:39:11 |
b7449926 XL |
118 | | |
119 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 120 | | ---------- required by this bound in `check` |
e1599b0c XL |
121 | ... |
122 | LL | check(xm1::S{}); | |
123 | | ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 XL |
124 | |
125 | error[E0277]: the trait bound `namespace_mix::c::S: Impossible` is not satisfied | |
e1599b0c | 126 | --> $DIR/namespace-mix.rs:41:11 |
b7449926 XL |
127 | | |
128 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 129 | | ---------- required by this bound in `check` |
e1599b0c XL |
130 | ... |
131 | LL | check(xm2::S{}); | |
132 | | ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::S` | |
b7449926 XL |
133 | |
134 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 135 | --> $DIR/namespace-mix.rs:42:11 |
b7449926 XL |
136 | | |
137 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 138 | | ---------- required by this bound in `check` |
e1599b0c XL |
139 | ... |
140 | LL | check(xm2::S); | |
141 | | ^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 XL |
142 | |
143 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 144 | --> $DIR/namespace-mix.rs:55:11 |
b7449926 XL |
145 | | |
146 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 147 | | ---------- required by this bound in `check` |
e1599b0c XL |
148 | ... |
149 | LL | check(m3::TS{}); | |
150 | | ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 | 151 | |
a1dfa0c6 | 152 | error[E0277]: the trait bound `fn() -> c::TS {c::TS}: Impossible` is not satisfied |
e1599b0c | 153 | --> $DIR/namespace-mix.rs:56:11 |
b7449926 XL |
154 | | |
155 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 156 | | ---------- required by this bound in `check` |
e1599b0c XL |
157 | ... |
158 | LL | check(m3::TS); | |
159 | | ^^^^^^ the trait `Impossible` is not implemented for `fn() -> c::TS {c::TS}` | |
b7449926 XL |
160 | |
161 | error[E0277]: the trait bound `c::TS: Impossible` is not satisfied | |
e1599b0c | 162 | --> $DIR/namespace-mix.rs:57:11 |
b7449926 XL |
163 | | |
164 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 165 | | ---------- required by this bound in `check` |
e1599b0c XL |
166 | ... |
167 | LL | check(m4::TS{}); | |
168 | | ^^^^^^^^ the trait `Impossible` is not implemented for `c::TS` | |
b7449926 XL |
169 | |
170 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 171 | --> $DIR/namespace-mix.rs:58:11 |
b7449926 XL |
172 | | |
173 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 174 | | ---------- required by this bound in `check` |
e1599b0c XL |
175 | ... |
176 | LL | check(m4::TS); | |
177 | | ^^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 XL |
178 | |
179 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 180 | --> $DIR/namespace-mix.rs:61:11 |
b7449926 XL |
181 | | |
182 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 183 | | ---------- required by this bound in `check` |
e1599b0c XL |
184 | ... |
185 | LL | check(xm3::TS{}); | |
186 | | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 | 187 | |
a1dfa0c6 | 188 | error[E0277]: the trait bound `fn() -> namespace_mix::c::TS {namespace_mix::c::TS}: Impossible` is not satisfied |
e1599b0c | 189 | --> $DIR/namespace-mix.rs:62:11 |
b7449926 XL |
190 | | |
191 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 192 | | ---------- required by this bound in `check` |
e1599b0c XL |
193 | ... |
194 | LL | check(xm3::TS); | |
195 | | ^^^^^^^ the trait `Impossible` is not implemented for `fn() -> namespace_mix::c::TS {namespace_mix::c::TS}` | |
b7449926 XL |
196 | |
197 | error[E0277]: the trait bound `namespace_mix::c::TS: Impossible` is not satisfied | |
e1599b0c | 198 | --> $DIR/namespace-mix.rs:63:11 |
b7449926 XL |
199 | | |
200 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 201 | | ---------- required by this bound in `check` |
e1599b0c XL |
202 | ... |
203 | LL | check(xm4::TS{}); | |
204 | | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::TS` | |
b7449926 XL |
205 | |
206 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 207 | --> $DIR/namespace-mix.rs:64:11 |
b7449926 XL |
208 | | |
209 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 210 | | ---------- required by this bound in `check` |
e1599b0c XL |
211 | ... |
212 | LL | check(xm4::TS); | |
213 | | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 XL |
214 | |
215 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 216 | --> $DIR/namespace-mix.rs:77:11 |
b7449926 XL |
217 | | |
218 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 219 | | ---------- required by this bound in `check` |
e1599b0c XL |
220 | ... |
221 | LL | check(m5::US{}); | |
222 | | ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 XL |
223 | |
224 | error[E0277]: the trait bound `c::US: Impossible` is not satisfied | |
e1599b0c | 225 | --> $DIR/namespace-mix.rs:78:11 |
b7449926 XL |
226 | | |
227 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 228 | | ---------- required by this bound in `check` |
e1599b0c XL |
229 | ... |
230 | LL | check(m5::US); | |
231 | | ^^^^^^ the trait `Impossible` is not implemented for `c::US` | |
b7449926 XL |
232 | |
233 | error[E0277]: the trait bound `c::US: Impossible` is not satisfied | |
e1599b0c | 234 | --> $DIR/namespace-mix.rs:79:11 |
b7449926 XL |
235 | | |
236 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 237 | | ---------- required by this bound in `check` |
e1599b0c XL |
238 | ... |
239 | LL | check(m6::US{}); | |
240 | | ^^^^^^^^ the trait `Impossible` is not implemented for `c::US` | |
b7449926 XL |
241 | |
242 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 243 | --> $DIR/namespace-mix.rs:80:11 |
b7449926 XL |
244 | | |
245 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 246 | | ---------- required by this bound in `check` |
e1599b0c XL |
247 | ... |
248 | LL | check(m6::US); | |
249 | | ^^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 XL |
250 | |
251 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 252 | --> $DIR/namespace-mix.rs:83:11 |
b7449926 XL |
253 | | |
254 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 255 | | ---------- required by this bound in `check` |
e1599b0c XL |
256 | ... |
257 | LL | check(xm5::US{}); | |
258 | | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 XL |
259 | |
260 | error[E0277]: the trait bound `namespace_mix::c::US: Impossible` is not satisfied | |
e1599b0c | 261 | --> $DIR/namespace-mix.rs:84:11 |
b7449926 XL |
262 | | |
263 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 264 | | ---------- required by this bound in `check` |
e1599b0c XL |
265 | ... |
266 | LL | check(xm5::US); | |
267 | | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::US` | |
b7449926 XL |
268 | |
269 | error[E0277]: the trait bound `namespace_mix::c::US: Impossible` is not satisfied | |
e1599b0c | 270 | --> $DIR/namespace-mix.rs:85:11 |
b7449926 XL |
271 | | |
272 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 273 | | ---------- required by this bound in `check` |
e1599b0c XL |
274 | ... |
275 | LL | check(xm6::US{}); | |
276 | | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::US` | |
b7449926 XL |
277 | |
278 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 279 | --> $DIR/namespace-mix.rs:86:11 |
b7449926 XL |
280 | | |
281 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 282 | | ---------- required by this bound in `check` |
e1599b0c XL |
283 | ... |
284 | LL | check(xm6::US); | |
285 | | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 XL |
286 | |
287 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 288 | --> $DIR/namespace-mix.rs:99:11 |
b7449926 XL |
289 | | |
290 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 291 | | ---------- required by this bound in `check` |
e1599b0c XL |
292 | ... |
293 | LL | check(m7::V{}); | |
294 | | ^^^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 XL |
295 | |
296 | error[E0277]: the trait bound `c::E: Impossible` is not satisfied | |
e1599b0c | 297 | --> $DIR/namespace-mix.rs:101:11 |
b7449926 XL |
298 | | |
299 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 300 | | ---------- required by this bound in `check` |
e1599b0c XL |
301 | ... |
302 | LL | check(m8::V{}); | |
303 | | ^^^^^^^ the trait `Impossible` is not implemented for `c::E` | |
b7449926 XL |
304 | |
305 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 306 | --> $DIR/namespace-mix.rs:102:11 |
b7449926 XL |
307 | | |
308 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 309 | | ---------- required by this bound in `check` |
e1599b0c XL |
310 | ... |
311 | LL | check(m8::V); | |
312 | | ^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 XL |
313 | |
314 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 315 | --> $DIR/namespace-mix.rs:105:11 |
b7449926 XL |
316 | | |
317 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 318 | | ---------- required by this bound in `check` |
e1599b0c XL |
319 | ... |
320 | LL | check(xm7::V{}); | |
321 | | ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 XL |
322 | |
323 | error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied | |
e1599b0c | 324 | --> $DIR/namespace-mix.rs:107:11 |
b7449926 XL |
325 | | |
326 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 327 | | ---------- required by this bound in `check` |
e1599b0c XL |
328 | ... |
329 | LL | check(xm8::V{}); | |
330 | | ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E` | |
b7449926 XL |
331 | |
332 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 333 | --> $DIR/namespace-mix.rs:108:11 |
b7449926 XL |
334 | | |
335 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 336 | | ---------- required by this bound in `check` |
e1599b0c XL |
337 | ... |
338 | LL | check(xm8::V); | |
339 | | ^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 XL |
340 | |
341 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 342 | --> $DIR/namespace-mix.rs:121:11 |
b7449926 XL |
343 | | |
344 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 345 | | ---------- required by this bound in `check` |
e1599b0c XL |
346 | ... |
347 | LL | check(m9::TV{}); | |
348 | | ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 XL |
349 | |
350 | error[E0277]: the trait bound `fn() -> c::E {c::E::TV}: Impossible` is not satisfied | |
e1599b0c | 351 | --> $DIR/namespace-mix.rs:122:11 |
b7449926 XL |
352 | | |
353 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 354 | | ---------- required by this bound in `check` |
e1599b0c XL |
355 | ... |
356 | LL | check(m9::TV); | |
357 | | ^^^^^^ the trait `Impossible` is not implemented for `fn() -> c::E {c::E::TV}` | |
b7449926 XL |
358 | |
359 | error[E0277]: the trait bound `c::E: Impossible` is not satisfied | |
e1599b0c | 360 | --> $DIR/namespace-mix.rs:123:11 |
b7449926 XL |
361 | | |
362 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 363 | | ---------- required by this bound in `check` |
e1599b0c XL |
364 | ... |
365 | LL | check(mA::TV{}); | |
366 | | ^^^^^^^^ the trait `Impossible` is not implemented for `c::E` | |
b7449926 XL |
367 | |
368 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 369 | --> $DIR/namespace-mix.rs:124:11 |
b7449926 XL |
370 | | |
371 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 372 | | ---------- required by this bound in `check` |
e1599b0c XL |
373 | ... |
374 | LL | check(mA::TV); | |
375 | | ^^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 XL |
376 | |
377 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 378 | --> $DIR/namespace-mix.rs:127:11 |
b7449926 XL |
379 | | |
380 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 381 | | ---------- required by this bound in `check` |
e1599b0c XL |
382 | ... |
383 | LL | check(xm9::TV{}); | |
384 | | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 | 385 | |
532ac7d7 | 386 | error[E0277]: the trait bound `fn() -> namespace_mix::c::E {namespace_mix::xm7::TV}: Impossible` is not satisfied |
e1599b0c | 387 | --> $DIR/namespace-mix.rs:128:11 |
b7449926 XL |
388 | | |
389 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 390 | | ---------- required by this bound in `check` |
e1599b0c XL |
391 | ... |
392 | LL | check(xm9::TV); | |
393 | | ^^^^^^^ the trait `Impossible` is not implemented for `fn() -> namespace_mix::c::E {namespace_mix::xm7::TV}` | |
b7449926 XL |
394 | |
395 | error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied | |
e1599b0c | 396 | --> $DIR/namespace-mix.rs:129:11 |
b7449926 XL |
397 | | |
398 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 399 | | ---------- required by this bound in `check` |
e1599b0c XL |
400 | ... |
401 | LL | check(xmA::TV{}); | |
402 | | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E` | |
b7449926 XL |
403 | |
404 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 405 | --> $DIR/namespace-mix.rs:130:11 |
b7449926 XL |
406 | | |
407 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 408 | | ---------- required by this bound in `check` |
e1599b0c XL |
409 | ... |
410 | LL | check(xmA::TV); | |
411 | | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 XL |
412 | |
413 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 414 | --> $DIR/namespace-mix.rs:143:11 |
b7449926 XL |
415 | | |
416 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 417 | | ---------- required by this bound in `check` |
e1599b0c XL |
418 | ... |
419 | LL | check(mB::UV{}); | |
420 | | ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 XL |
421 | |
422 | error[E0277]: the trait bound `c::E: Impossible` is not satisfied | |
e1599b0c | 423 | --> $DIR/namespace-mix.rs:144:11 |
b7449926 XL |
424 | | |
425 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 426 | | ---------- required by this bound in `check` |
e1599b0c XL |
427 | ... |
428 | LL | check(mB::UV); | |
429 | | ^^^^^^ the trait `Impossible` is not implemented for `c::E` | |
b7449926 XL |
430 | |
431 | error[E0277]: the trait bound `c::E: Impossible` is not satisfied | |
e1599b0c | 432 | --> $DIR/namespace-mix.rs:145:11 |
b7449926 XL |
433 | | |
434 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 435 | | ---------- required by this bound in `check` |
e1599b0c XL |
436 | ... |
437 | LL | check(mC::UV{}); | |
438 | | ^^^^^^^^ the trait `Impossible` is not implemented for `c::E` | |
b7449926 XL |
439 | |
440 | error[E0277]: the trait bound `c::Item: Impossible` is not satisfied | |
e1599b0c | 441 | --> $DIR/namespace-mix.rs:146:11 |
b7449926 XL |
442 | | |
443 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 444 | | ---------- required by this bound in `check` |
e1599b0c XL |
445 | ... |
446 | LL | check(mC::UV); | |
447 | | ^^^^^^ the trait `Impossible` is not implemented for `c::Item` | |
b7449926 XL |
448 | |
449 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 450 | --> $DIR/namespace-mix.rs:149:11 |
b7449926 XL |
451 | | |
452 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 453 | | ---------- required by this bound in `check` |
e1599b0c XL |
454 | ... |
455 | LL | check(xmB::UV{}); | |
456 | | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 XL |
457 | |
458 | error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied | |
e1599b0c | 459 | --> $DIR/namespace-mix.rs:150:11 |
b7449926 XL |
460 | | |
461 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 462 | | ---------- required by this bound in `check` |
e1599b0c XL |
463 | ... |
464 | LL | check(xmB::UV); | |
465 | | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E` | |
b7449926 XL |
466 | |
467 | error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied | |
e1599b0c | 468 | --> $DIR/namespace-mix.rs:151:11 |
b7449926 XL |
469 | | |
470 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 471 | | ---------- required by this bound in `check` |
e1599b0c XL |
472 | ... |
473 | LL | check(xmC::UV{}); | |
474 | | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E` | |
b7449926 XL |
475 | |
476 | error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied | |
e1599b0c | 477 | --> $DIR/namespace-mix.rs:152:11 |
b7449926 XL |
478 | | |
479 | LL | fn check<T: Impossible>(_: T) {} | |
ba9703b0 | 480 | | ---------- required by this bound in `check` |
e1599b0c XL |
481 | ... |
482 | LL | check(xmC::UV); | |
483 | | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` | |
b7449926 XL |
484 | |
485 | error: aborting due to 48 previous errors | |
486 | ||
48663c56 | 487 | Some errors have detailed explanations: E0277, E0423. |
b7449926 | 488 | For more information about an error, try `rustc --explain E0277`. |