1 error[E0080]: evaluation of `<i32 as Const>::CONSTANT` failed
2 --> $DIR/uninhabited-const-issue-61744.rs:4:5
4 LL | hint_unreachable()
5 | ^^^^^^^^^^^^^^^^^^ reached the configured maximum number of stack frames
7 note: inside `fake_type::<!>`
8 --> $DIR/uninhabited-const-issue-61744.rs:4:5
10 LL | hint_unreachable()
12 note: inside `hint_unreachable`
13 --> $DIR/uninhabited-const-issue-61744.rs:8:5
17 note: inside `fake_type::<!>`
18 --> $DIR/uninhabited-const-issue-61744.rs:4:5
20 LL | hint_unreachable()
22 note: inside `hint_unreachable`
23 --> $DIR/uninhabited-const-issue-61744.rs:8:5
27 note: inside `fake_type::<!>`
28 --> $DIR/uninhabited-const-issue-61744.rs:4:5
30 LL | hint_unreachable()
32 note: inside `hint_unreachable`
33 --> $DIR/uninhabited-const-issue-61744.rs:8:5
37 note: inside `fake_type::<!>`
38 --> $DIR/uninhabited-const-issue-61744.rs:4:5
40 LL | hint_unreachable()
42 note: inside `hint_unreachable`
43 --> $DIR/uninhabited-const-issue-61744.rs:8:5
47 note: inside `fake_type::<!>`
48 --> $DIR/uninhabited-const-issue-61744.rs:4:5
50 LL | hint_unreachable()
52 note: inside `hint_unreachable`
53 --> $DIR/uninhabited-const-issue-61744.rs:8:5
57 note: inside `fake_type::<!>`
58 --> $DIR/uninhabited-const-issue-61744.rs:4:5
60 LL | hint_unreachable()
62 note: inside `hint_unreachable`
63 --> $DIR/uninhabited-const-issue-61744.rs:8:5
67 note: inside `fake_type::<!>`
68 --> $DIR/uninhabited-const-issue-61744.rs:4:5
70 LL | hint_unreachable()
72 note: inside `hint_unreachable`
73 --> $DIR/uninhabited-const-issue-61744.rs:8:5
77 note: inside `fake_type::<!>`
78 --> $DIR/uninhabited-const-issue-61744.rs:4:5
80 LL | hint_unreachable()
82 note: inside `hint_unreachable`
83 --> $DIR/uninhabited-const-issue-61744.rs:8:5
87 note: inside `fake_type::<!>`
88 --> $DIR/uninhabited-const-issue-61744.rs:4:5
90 LL | hint_unreachable()
92 note: inside `hint_unreachable`
93 --> $DIR/uninhabited-const-issue-61744.rs:8:5
97 note: inside `fake_type::<!>`
98 --> $DIR/uninhabited-const-issue-61744.rs:4:5
100 LL | hint_unreachable()
102 note: inside `hint_unreachable`
103 --> $DIR/uninhabited-const-issue-61744.rs:8:5
107 note: inside `fake_type::<!>`
108 --> $DIR/uninhabited-const-issue-61744.rs:4:5
110 LL | hint_unreachable()
112 note: inside `hint_unreachable`
113 --> $DIR/uninhabited-const-issue-61744.rs:8:5
117 note: inside `fake_type::<!>`
118 --> $DIR/uninhabited-const-issue-61744.rs:4:5
120 LL | hint_unreachable()
122 note: inside `hint_unreachable`
123 --> $DIR/uninhabited-const-issue-61744.rs:8:5
127 note: inside `fake_type::<!>`
128 --> $DIR/uninhabited-const-issue-61744.rs:4:5
130 LL | hint_unreachable()
132 note: inside `hint_unreachable`
133 --> $DIR/uninhabited-const-issue-61744.rs:8:5
137 note: inside `fake_type::<!>`
138 --> $DIR/uninhabited-const-issue-61744.rs:4:5
140 LL | hint_unreachable()
142 note: inside `hint_unreachable`
143 --> $DIR/uninhabited-const-issue-61744.rs:8:5
147 note: inside `fake_type::<!>`
148 --> $DIR/uninhabited-const-issue-61744.rs:4:5
150 LL | hint_unreachable()
152 note: inside `hint_unreachable`
153 --> $DIR/uninhabited-const-issue-61744.rs:8:5
157 note: inside `fake_type::<!>`
158 --> $DIR/uninhabited-const-issue-61744.rs:4:5
160 LL | hint_unreachable()
162 note: inside `hint_unreachable`
163 --> $DIR/uninhabited-const-issue-61744.rs:8:5
167 note: inside `fake_type::<!>`
168 --> $DIR/uninhabited-const-issue-61744.rs:4:5
170 LL | hint_unreachable()
172 note: inside `hint_unreachable`
173 --> $DIR/uninhabited-const-issue-61744.rs:8:5
177 note: inside `fake_type::<!>`
178 --> $DIR/uninhabited-const-issue-61744.rs:4:5
180 LL | hint_unreachable()
182 note: inside `hint_unreachable`
183 --> $DIR/uninhabited-const-issue-61744.rs:8:5
187 note: inside `fake_type::<!>`
188 --> $DIR/uninhabited-const-issue-61744.rs:4:5
190 LL | hint_unreachable()
192 note: inside `hint_unreachable`
193 --> $DIR/uninhabited-const-issue-61744.rs:8:5
197 note: inside `fake_type::<!>`
198 --> $DIR/uninhabited-const-issue-61744.rs:4:5
200 LL | hint_unreachable()
202 note: inside `hint_unreachable`
203 --> $DIR/uninhabited-const-issue-61744.rs:8:5
207 note: inside `fake_type::<!>`
208 --> $DIR/uninhabited-const-issue-61744.rs:4:5
210 LL | hint_unreachable()
212 note: inside `hint_unreachable`
213 --> $DIR/uninhabited-const-issue-61744.rs:8:5
217 note: inside `fake_type::<!>`
218 --> $DIR/uninhabited-const-issue-61744.rs:4:5
220 LL | hint_unreachable()
222 note: inside `hint_unreachable`
223 --> $DIR/uninhabited-const-issue-61744.rs:8:5
227 note: inside `fake_type::<!>`
228 --> $DIR/uninhabited-const-issue-61744.rs:4:5
230 LL | hint_unreachable()
232 note: inside `hint_unreachable`
233 --> $DIR/uninhabited-const-issue-61744.rs:8:5
237 note: inside `fake_type::<!>`
238 --> $DIR/uninhabited-const-issue-61744.rs:4:5
240 LL | hint_unreachable()
242 note: inside `hint_unreachable`
243 --> $DIR/uninhabited-const-issue-61744.rs:8:5
247 note: inside `fake_type::<!>`
248 --> $DIR/uninhabited-const-issue-61744.rs:4:5
250 LL | hint_unreachable()
252 note: inside `hint_unreachable`
253 --> $DIR/uninhabited-const-issue-61744.rs:8:5
257 note: inside `fake_type::<!>`
258 --> $DIR/uninhabited-const-issue-61744.rs:4:5
260 LL | hint_unreachable()
262 note: inside `hint_unreachable`
263 --> $DIR/uninhabited-const-issue-61744.rs:8:5
267 note: inside `fake_type::<!>`
268 --> $DIR/uninhabited-const-issue-61744.rs:4:5
270 LL | hint_unreachable()
272 note: inside `hint_unreachable`
273 --> $DIR/uninhabited-const-issue-61744.rs:8:5
277 note: inside `fake_type::<!>`
278 --> $DIR/uninhabited-const-issue-61744.rs:4:5
280 LL | hint_unreachable()
282 note: inside `hint_unreachable`
283 --> $DIR/uninhabited-const-issue-61744.rs:8:5
287 note: inside `fake_type::<!>`
288 --> $DIR/uninhabited-const-issue-61744.rs:4:5
290 LL | hint_unreachable()
292 note: inside `hint_unreachable`
293 --> $DIR/uninhabited-const-issue-61744.rs:8:5
297 note: inside `fake_type::<!>`
298 --> $DIR/uninhabited-const-issue-61744.rs:4:5
300 LL | hint_unreachable()
302 note: inside `hint_unreachable`
303 --> $DIR/uninhabited-const-issue-61744.rs:8:5
307 note: inside `fake_type::<!>`
308 --> $DIR/uninhabited-const-issue-61744.rs:4:5
310 LL | hint_unreachable()
312 note: inside `hint_unreachable`
313 --> $DIR/uninhabited-const-issue-61744.rs:8:5
317 note: inside `fake_type::<!>`
318 --> $DIR/uninhabited-const-issue-61744.rs:4:5
320 LL | hint_unreachable()
322 note: inside `hint_unreachable`
323 --> $DIR/uninhabited-const-issue-61744.rs:8:5
327 note: inside `fake_type::<!>`
328 --> $DIR/uninhabited-const-issue-61744.rs:4:5
330 LL | hint_unreachable()
332 note: inside `hint_unreachable`
333 --> $DIR/uninhabited-const-issue-61744.rs:8:5
337 note: inside `fake_type::<!>`
338 --> $DIR/uninhabited-const-issue-61744.rs:4:5
340 LL | hint_unreachable()
342 note: inside `hint_unreachable`
343 --> $DIR/uninhabited-const-issue-61744.rs:8:5
347 note: inside `fake_type::<!>`
348 --> $DIR/uninhabited-const-issue-61744.rs:4:5
350 LL | hint_unreachable()
352 note: inside `hint_unreachable`
353 --> $DIR/uninhabited-const-issue-61744.rs:8:5
357 note: inside `fake_type::<!>`
358 --> $DIR/uninhabited-const-issue-61744.rs:4:5
360 LL | hint_unreachable()
362 note: inside `hint_unreachable`
363 --> $DIR/uninhabited-const-issue-61744.rs:8:5
367 note: inside `fake_type::<!>`
368 --> $DIR/uninhabited-const-issue-61744.rs:4:5
370 LL | hint_unreachable()
372 note: inside `hint_unreachable`
373 --> $DIR/uninhabited-const-issue-61744.rs:8:5
377 note: inside `fake_type::<!>`
378 --> $DIR/uninhabited-const-issue-61744.rs:4:5
380 LL | hint_unreachable()
382 note: inside `hint_unreachable`
383 --> $DIR/uninhabited-const-issue-61744.rs:8:5
387 note: inside `fake_type::<!>`
388 --> $DIR/uninhabited-const-issue-61744.rs:4:5
390 LL | hint_unreachable()
392 note: inside `hint_unreachable`
393 --> $DIR/uninhabited-const-issue-61744.rs:8:5
397 note: inside `fake_type::<!>`
398 --> $DIR/uninhabited-const-issue-61744.rs:4:5
400 LL | hint_unreachable()
402 note: inside `hint_unreachable`
403 --> $DIR/uninhabited-const-issue-61744.rs:8:5
407 note: inside `fake_type::<!>`
408 --> $DIR/uninhabited-const-issue-61744.rs:4:5
410 LL | hint_unreachable()
412 note: inside `hint_unreachable`
413 --> $DIR/uninhabited-const-issue-61744.rs:8:5
417 note: inside `fake_type::<!>`
418 --> $DIR/uninhabited-const-issue-61744.rs:4:5
420 LL | hint_unreachable()
422 note: inside `hint_unreachable`
423 --> $DIR/uninhabited-const-issue-61744.rs:8:5
427 note: inside `fake_type::<!>`
428 --> $DIR/uninhabited-const-issue-61744.rs:4:5
430 LL | hint_unreachable()
432 note: inside `hint_unreachable`
433 --> $DIR/uninhabited-const-issue-61744.rs:8:5
437 note: inside `fake_type::<!>`
438 --> $DIR/uninhabited-const-issue-61744.rs:4:5
440 LL | hint_unreachable()
442 note: inside `hint_unreachable`
443 --> $DIR/uninhabited-const-issue-61744.rs:8:5
447 note: inside `fake_type::<!>`
448 --> $DIR/uninhabited-const-issue-61744.rs:4:5
450 LL | hint_unreachable()
452 note: inside `hint_unreachable`
453 --> $DIR/uninhabited-const-issue-61744.rs:8:5
457 note: inside `fake_type::<!>`
458 --> $DIR/uninhabited-const-issue-61744.rs:4:5
460 LL | hint_unreachable()
462 note: inside `hint_unreachable`
463 --> $DIR/uninhabited-const-issue-61744.rs:8:5
467 note: inside `fake_type::<!>`
468 --> $DIR/uninhabited-const-issue-61744.rs:4:5
470 LL | hint_unreachable()
472 note: inside `hint_unreachable`
473 --> $DIR/uninhabited-const-issue-61744.rs:8:5
477 note: inside `fake_type::<!>`
478 --> $DIR/uninhabited-const-issue-61744.rs:4:5
480 LL | hint_unreachable()
482 note: inside `hint_unreachable`
483 --> $DIR/uninhabited-const-issue-61744.rs:8:5
487 note: inside `fake_type::<!>`
488 --> $DIR/uninhabited-const-issue-61744.rs:4:5
490 LL | hint_unreachable()
492 note: inside `hint_unreachable`
493 --> $DIR/uninhabited-const-issue-61744.rs:8:5
497 note: inside `fake_type::<!>`
498 --> $DIR/uninhabited-const-issue-61744.rs:4:5
500 LL | hint_unreachable()
502 note: inside `hint_unreachable`
503 --> $DIR/uninhabited-const-issue-61744.rs:8:5
507 note: inside `fake_type::<!>`
508 --> $DIR/uninhabited-const-issue-61744.rs:4:5
510 LL | hint_unreachable()
512 note: inside `hint_unreachable`
513 --> $DIR/uninhabited-const-issue-61744.rs:8:5
517 note: inside `fake_type::<!>`
518 --> $DIR/uninhabited-const-issue-61744.rs:4:5
520 LL | hint_unreachable()
522 note: inside `hint_unreachable`
523 --> $DIR/uninhabited-const-issue-61744.rs:8:5
527 note: inside `fake_type::<!>`
528 --> $DIR/uninhabited-const-issue-61744.rs:4:5
530 LL | hint_unreachable()
532 note: inside `hint_unreachable`
533 --> $DIR/uninhabited-const-issue-61744.rs:8:5
537 note: inside `fake_type::<!>`
538 --> $DIR/uninhabited-const-issue-61744.rs:4:5
540 LL | hint_unreachable()
542 note: inside `hint_unreachable`
543 --> $DIR/uninhabited-const-issue-61744.rs:8:5
547 note: inside `fake_type::<!>`
548 --> $DIR/uninhabited-const-issue-61744.rs:4:5
550 LL | hint_unreachable()
552 note: inside `hint_unreachable`
553 --> $DIR/uninhabited-const-issue-61744.rs:8:5
557 note: inside `fake_type::<!>`
558 --> $DIR/uninhabited-const-issue-61744.rs:4:5
560 LL | hint_unreachable()
562 note: inside `hint_unreachable`
563 --> $DIR/uninhabited-const-issue-61744.rs:8:5
567 note: inside `fake_type::<!>`
568 --> $DIR/uninhabited-const-issue-61744.rs:4:5
570 LL | hint_unreachable()
572 note: inside `hint_unreachable`
573 --> $DIR/uninhabited-const-issue-61744.rs:8:5
577 note: inside `fake_type::<!>`
578 --> $DIR/uninhabited-const-issue-61744.rs:4:5
580 LL | hint_unreachable()
582 note: inside `hint_unreachable`
583 --> $DIR/uninhabited-const-issue-61744.rs:8:5
587 note: inside `fake_type::<!>`
588 --> $DIR/uninhabited-const-issue-61744.rs:4:5
590 LL | hint_unreachable()
592 note: inside `hint_unreachable`
593 --> $DIR/uninhabited-const-issue-61744.rs:8:5
597 note: inside `fake_type::<!>`
598 --> $DIR/uninhabited-const-issue-61744.rs:4:5
600 LL | hint_unreachable()
602 note: inside `hint_unreachable`
603 --> $DIR/uninhabited-const-issue-61744.rs:8:5
607 note: inside `fake_type::<!>`
608 --> $DIR/uninhabited-const-issue-61744.rs:4:5
610 LL | hint_unreachable()
612 note: inside `hint_unreachable`
613 --> $DIR/uninhabited-const-issue-61744.rs:8:5
617 note: inside `fake_type::<!>`
618 --> $DIR/uninhabited-const-issue-61744.rs:4:5
620 LL | hint_unreachable()
622 note: inside `hint_unreachable`
623 --> $DIR/uninhabited-const-issue-61744.rs:8:5
627 note: inside `fake_type::<!>`
628 --> $DIR/uninhabited-const-issue-61744.rs:4:5
630 LL | hint_unreachable()
632 note: inside `hint_unreachable`
633 --> $DIR/uninhabited-const-issue-61744.rs:8:5
637 note: inside `fake_type::<i32>`
638 --> $DIR/uninhabited-const-issue-61744.rs:4:5
640 LL | hint_unreachable()
642 note: inside `<i32 as Const>::CONSTANT`
643 --> $DIR/uninhabited-const-issue-61744.rs:12:36
645 LL | const CONSTANT: i32 = unsafe { fake_type() };
648 note: erroneous constant used
649 --> $DIR/uninhabited-const-issue-61744.rs:18:10
651 LL | dbg!(i32::CONSTANT);
654 note: erroneous constant used
655 --> $DIR/uninhabited-const-issue-61744.rs:18:10
657 LL | dbg!(i32::CONSTANT);
660 note: erroneous constant used
661 --> $DIR/uninhabited-const-issue-61744.rs:18:10
663 LL | dbg!(i32::CONSTANT);
666 error: aborting due to previous error
668 For more information about this error, try `rustc --explain E0080`.