• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0080]: evaluation of `<i32 as Const>::CONSTANT` failed
2  --> $DIR/uninhabited-const-issue-61744.rs:4:5
3   |
4LL |     hint_unreachable()
5   |     ^^^^^^^^^^^^^^^^^^ reached the configured maximum number of stack frames
6   |
7note: inside `fake_type::<!>`
8  --> $DIR/uninhabited-const-issue-61744.rs:4:5
9   |
10LL |     hint_unreachable()
11   |     ^^^^^^^^^^^^^^^^^^
12note: inside `hint_unreachable`
13  --> $DIR/uninhabited-const-issue-61744.rs:8:5
14   |
15LL |     fake_type()
16   |     ^^^^^^^^^^^
17note: inside `fake_type::<!>`
18  --> $DIR/uninhabited-const-issue-61744.rs:4:5
19   |
20LL |     hint_unreachable()
21   |     ^^^^^^^^^^^^^^^^^^
22note: inside `hint_unreachable`
23  --> $DIR/uninhabited-const-issue-61744.rs:8:5
24   |
25LL |     fake_type()
26   |     ^^^^^^^^^^^
27note: inside `fake_type::<!>`
28  --> $DIR/uninhabited-const-issue-61744.rs:4:5
29   |
30LL |     hint_unreachable()
31   |     ^^^^^^^^^^^^^^^^^^
32note: inside `hint_unreachable`
33  --> $DIR/uninhabited-const-issue-61744.rs:8:5
34   |
35LL |     fake_type()
36   |     ^^^^^^^^^^^
37note: inside `fake_type::<!>`
38  --> $DIR/uninhabited-const-issue-61744.rs:4:5
39   |
40LL |     hint_unreachable()
41   |     ^^^^^^^^^^^^^^^^^^
42note: inside `hint_unreachable`
43  --> $DIR/uninhabited-const-issue-61744.rs:8:5
44   |
45LL |     fake_type()
46   |     ^^^^^^^^^^^
47note: inside `fake_type::<!>`
48  --> $DIR/uninhabited-const-issue-61744.rs:4:5
49   |
50LL |     hint_unreachable()
51   |     ^^^^^^^^^^^^^^^^^^
52note: inside `hint_unreachable`
53  --> $DIR/uninhabited-const-issue-61744.rs:8:5
54   |
55LL |     fake_type()
56   |     ^^^^^^^^^^^
57note: inside `fake_type::<!>`
58  --> $DIR/uninhabited-const-issue-61744.rs:4:5
59   |
60LL |     hint_unreachable()
61   |     ^^^^^^^^^^^^^^^^^^
62note: inside `hint_unreachable`
63  --> $DIR/uninhabited-const-issue-61744.rs:8:5
64   |
65LL |     fake_type()
66   |     ^^^^^^^^^^^
67note: inside `fake_type::<!>`
68  --> $DIR/uninhabited-const-issue-61744.rs:4:5
69   |
70LL |     hint_unreachable()
71   |     ^^^^^^^^^^^^^^^^^^
72note: inside `hint_unreachable`
73  --> $DIR/uninhabited-const-issue-61744.rs:8:5
74   |
75LL |     fake_type()
76   |     ^^^^^^^^^^^
77note: inside `fake_type::<!>`
78  --> $DIR/uninhabited-const-issue-61744.rs:4:5
79   |
80LL |     hint_unreachable()
81   |     ^^^^^^^^^^^^^^^^^^
82note: inside `hint_unreachable`
83  --> $DIR/uninhabited-const-issue-61744.rs:8:5
84   |
85LL |     fake_type()
86   |     ^^^^^^^^^^^
87note: inside `fake_type::<!>`
88  --> $DIR/uninhabited-const-issue-61744.rs:4:5
89   |
90LL |     hint_unreachable()
91   |     ^^^^^^^^^^^^^^^^^^
92note: inside `hint_unreachable`
93  --> $DIR/uninhabited-const-issue-61744.rs:8:5
94   |
95LL |     fake_type()
96   |     ^^^^^^^^^^^
97note: inside `fake_type::<!>`
98  --> $DIR/uninhabited-const-issue-61744.rs:4:5
99   |
100LL |     hint_unreachable()
101   |     ^^^^^^^^^^^^^^^^^^
102note: inside `hint_unreachable`
103  --> $DIR/uninhabited-const-issue-61744.rs:8:5
104   |
105LL |     fake_type()
106   |     ^^^^^^^^^^^
107note: inside `fake_type::<!>`
108  --> $DIR/uninhabited-const-issue-61744.rs:4:5
109   |
110LL |     hint_unreachable()
111   |     ^^^^^^^^^^^^^^^^^^
112note: inside `hint_unreachable`
113  --> $DIR/uninhabited-const-issue-61744.rs:8:5
114   |
115LL |     fake_type()
116   |     ^^^^^^^^^^^
117note: inside `fake_type::<!>`
118  --> $DIR/uninhabited-const-issue-61744.rs:4:5
119   |
120LL |     hint_unreachable()
121   |     ^^^^^^^^^^^^^^^^^^
122note: inside `hint_unreachable`
123  --> $DIR/uninhabited-const-issue-61744.rs:8:5
124   |
125LL |     fake_type()
126   |     ^^^^^^^^^^^
127note: inside `fake_type::<!>`
128  --> $DIR/uninhabited-const-issue-61744.rs:4:5
129   |
130LL |     hint_unreachable()
131   |     ^^^^^^^^^^^^^^^^^^
132note: inside `hint_unreachable`
133  --> $DIR/uninhabited-const-issue-61744.rs:8:5
134   |
135LL |     fake_type()
136   |     ^^^^^^^^^^^
137note: inside `fake_type::<!>`
138  --> $DIR/uninhabited-const-issue-61744.rs:4:5
139   |
140LL |     hint_unreachable()
141   |     ^^^^^^^^^^^^^^^^^^
142note: inside `hint_unreachable`
143  --> $DIR/uninhabited-const-issue-61744.rs:8:5
144   |
145LL |     fake_type()
146   |     ^^^^^^^^^^^
147note: inside `fake_type::<!>`
148  --> $DIR/uninhabited-const-issue-61744.rs:4:5
149   |
150LL |     hint_unreachable()
151   |     ^^^^^^^^^^^^^^^^^^
152note: inside `hint_unreachable`
153  --> $DIR/uninhabited-const-issue-61744.rs:8:5
154   |
155LL |     fake_type()
156   |     ^^^^^^^^^^^
157note: inside `fake_type::<!>`
158  --> $DIR/uninhabited-const-issue-61744.rs:4:5
159   |
160LL |     hint_unreachable()
161   |     ^^^^^^^^^^^^^^^^^^
162note: inside `hint_unreachable`
163  --> $DIR/uninhabited-const-issue-61744.rs:8:5
164   |
165LL |     fake_type()
166   |     ^^^^^^^^^^^
167note: inside `fake_type::<!>`
168  --> $DIR/uninhabited-const-issue-61744.rs:4:5
169   |
170LL |     hint_unreachable()
171   |     ^^^^^^^^^^^^^^^^^^
172note: inside `hint_unreachable`
173  --> $DIR/uninhabited-const-issue-61744.rs:8:5
174   |
175LL |     fake_type()
176   |     ^^^^^^^^^^^
177note: inside `fake_type::<!>`
178  --> $DIR/uninhabited-const-issue-61744.rs:4:5
179   |
180LL |     hint_unreachable()
181   |     ^^^^^^^^^^^^^^^^^^
182note: inside `hint_unreachable`
183  --> $DIR/uninhabited-const-issue-61744.rs:8:5
184   |
185LL |     fake_type()
186   |     ^^^^^^^^^^^
187note: inside `fake_type::<!>`
188  --> $DIR/uninhabited-const-issue-61744.rs:4:5
189   |
190LL |     hint_unreachable()
191   |     ^^^^^^^^^^^^^^^^^^
192note: inside `hint_unreachable`
193  --> $DIR/uninhabited-const-issue-61744.rs:8:5
194   |
195LL |     fake_type()
196   |     ^^^^^^^^^^^
197note: inside `fake_type::<!>`
198  --> $DIR/uninhabited-const-issue-61744.rs:4:5
199   |
200LL |     hint_unreachable()
201   |     ^^^^^^^^^^^^^^^^^^
202note: inside `hint_unreachable`
203  --> $DIR/uninhabited-const-issue-61744.rs:8:5
204   |
205LL |     fake_type()
206   |     ^^^^^^^^^^^
207note: inside `fake_type::<!>`
208  --> $DIR/uninhabited-const-issue-61744.rs:4:5
209   |
210LL |     hint_unreachable()
211   |     ^^^^^^^^^^^^^^^^^^
212note: inside `hint_unreachable`
213  --> $DIR/uninhabited-const-issue-61744.rs:8:5
214   |
215LL |     fake_type()
216   |     ^^^^^^^^^^^
217note: inside `fake_type::<!>`
218  --> $DIR/uninhabited-const-issue-61744.rs:4:5
219   |
220LL |     hint_unreachable()
221   |     ^^^^^^^^^^^^^^^^^^
222note: inside `hint_unreachable`
223  --> $DIR/uninhabited-const-issue-61744.rs:8:5
224   |
225LL |     fake_type()
226   |     ^^^^^^^^^^^
227note: inside `fake_type::<!>`
228  --> $DIR/uninhabited-const-issue-61744.rs:4:5
229   |
230LL |     hint_unreachable()
231   |     ^^^^^^^^^^^^^^^^^^
232note: inside `hint_unreachable`
233  --> $DIR/uninhabited-const-issue-61744.rs:8:5
234   |
235LL |     fake_type()
236   |     ^^^^^^^^^^^
237note: inside `fake_type::<!>`
238  --> $DIR/uninhabited-const-issue-61744.rs:4:5
239   |
240LL |     hint_unreachable()
241   |     ^^^^^^^^^^^^^^^^^^
242note: inside `hint_unreachable`
243  --> $DIR/uninhabited-const-issue-61744.rs:8:5
244   |
245LL |     fake_type()
246   |     ^^^^^^^^^^^
247note: inside `fake_type::<!>`
248  --> $DIR/uninhabited-const-issue-61744.rs:4:5
249   |
250LL |     hint_unreachable()
251   |     ^^^^^^^^^^^^^^^^^^
252note: inside `hint_unreachable`
253  --> $DIR/uninhabited-const-issue-61744.rs:8:5
254   |
255LL |     fake_type()
256   |     ^^^^^^^^^^^
257note: inside `fake_type::<!>`
258  --> $DIR/uninhabited-const-issue-61744.rs:4:5
259   |
260LL |     hint_unreachable()
261   |     ^^^^^^^^^^^^^^^^^^
262note: inside `hint_unreachable`
263  --> $DIR/uninhabited-const-issue-61744.rs:8:5
264   |
265LL |     fake_type()
266   |     ^^^^^^^^^^^
267note: inside `fake_type::<!>`
268  --> $DIR/uninhabited-const-issue-61744.rs:4:5
269   |
270LL |     hint_unreachable()
271   |     ^^^^^^^^^^^^^^^^^^
272note: inside `hint_unreachable`
273  --> $DIR/uninhabited-const-issue-61744.rs:8:5
274   |
275LL |     fake_type()
276   |     ^^^^^^^^^^^
277note: inside `fake_type::<!>`
278  --> $DIR/uninhabited-const-issue-61744.rs:4:5
279   |
280LL |     hint_unreachable()
281   |     ^^^^^^^^^^^^^^^^^^
282note: inside `hint_unreachable`
283  --> $DIR/uninhabited-const-issue-61744.rs:8:5
284   |
285LL |     fake_type()
286   |     ^^^^^^^^^^^
287note: inside `fake_type::<!>`
288  --> $DIR/uninhabited-const-issue-61744.rs:4:5
289   |
290LL |     hint_unreachable()
291   |     ^^^^^^^^^^^^^^^^^^
292note: inside `hint_unreachable`
293  --> $DIR/uninhabited-const-issue-61744.rs:8:5
294   |
295LL |     fake_type()
296   |     ^^^^^^^^^^^
297note: inside `fake_type::<!>`
298  --> $DIR/uninhabited-const-issue-61744.rs:4:5
299   |
300LL |     hint_unreachable()
301   |     ^^^^^^^^^^^^^^^^^^
302note: inside `hint_unreachable`
303  --> $DIR/uninhabited-const-issue-61744.rs:8:5
304   |
305LL |     fake_type()
306   |     ^^^^^^^^^^^
307note: inside `fake_type::<!>`
308  --> $DIR/uninhabited-const-issue-61744.rs:4:5
309   |
310LL |     hint_unreachable()
311   |     ^^^^^^^^^^^^^^^^^^
312note: inside `hint_unreachable`
313  --> $DIR/uninhabited-const-issue-61744.rs:8:5
314   |
315LL |     fake_type()
316   |     ^^^^^^^^^^^
317note: inside `fake_type::<!>`
318  --> $DIR/uninhabited-const-issue-61744.rs:4:5
319   |
320LL |     hint_unreachable()
321   |     ^^^^^^^^^^^^^^^^^^
322note: inside `hint_unreachable`
323  --> $DIR/uninhabited-const-issue-61744.rs:8:5
324   |
325LL |     fake_type()
326   |     ^^^^^^^^^^^
327note: inside `fake_type::<!>`
328  --> $DIR/uninhabited-const-issue-61744.rs:4:5
329   |
330LL |     hint_unreachable()
331   |     ^^^^^^^^^^^^^^^^^^
332note: inside `hint_unreachable`
333  --> $DIR/uninhabited-const-issue-61744.rs:8:5
334   |
335LL |     fake_type()
336   |     ^^^^^^^^^^^
337note: inside `fake_type::<!>`
338  --> $DIR/uninhabited-const-issue-61744.rs:4:5
339   |
340LL |     hint_unreachable()
341   |     ^^^^^^^^^^^^^^^^^^
342note: inside `hint_unreachable`
343  --> $DIR/uninhabited-const-issue-61744.rs:8:5
344   |
345LL |     fake_type()
346   |     ^^^^^^^^^^^
347note: inside `fake_type::<!>`
348  --> $DIR/uninhabited-const-issue-61744.rs:4:5
349   |
350LL |     hint_unreachable()
351   |     ^^^^^^^^^^^^^^^^^^
352note: inside `hint_unreachable`
353  --> $DIR/uninhabited-const-issue-61744.rs:8:5
354   |
355LL |     fake_type()
356   |     ^^^^^^^^^^^
357note: inside `fake_type::<!>`
358  --> $DIR/uninhabited-const-issue-61744.rs:4:5
359   |
360LL |     hint_unreachable()
361   |     ^^^^^^^^^^^^^^^^^^
362note: inside `hint_unreachable`
363  --> $DIR/uninhabited-const-issue-61744.rs:8:5
364   |
365LL |     fake_type()
366   |     ^^^^^^^^^^^
367note: inside `fake_type::<!>`
368  --> $DIR/uninhabited-const-issue-61744.rs:4:5
369   |
370LL |     hint_unreachable()
371   |     ^^^^^^^^^^^^^^^^^^
372note: inside `hint_unreachable`
373  --> $DIR/uninhabited-const-issue-61744.rs:8:5
374   |
375LL |     fake_type()
376   |     ^^^^^^^^^^^
377note: inside `fake_type::<!>`
378  --> $DIR/uninhabited-const-issue-61744.rs:4:5
379   |
380LL |     hint_unreachable()
381   |     ^^^^^^^^^^^^^^^^^^
382note: inside `hint_unreachable`
383  --> $DIR/uninhabited-const-issue-61744.rs:8:5
384   |
385LL |     fake_type()
386   |     ^^^^^^^^^^^
387note: inside `fake_type::<!>`
388  --> $DIR/uninhabited-const-issue-61744.rs:4:5
389   |
390LL |     hint_unreachable()
391   |     ^^^^^^^^^^^^^^^^^^
392note: inside `hint_unreachable`
393  --> $DIR/uninhabited-const-issue-61744.rs:8:5
394   |
395LL |     fake_type()
396   |     ^^^^^^^^^^^
397note: inside `fake_type::<!>`
398  --> $DIR/uninhabited-const-issue-61744.rs:4:5
399   |
400LL |     hint_unreachable()
401   |     ^^^^^^^^^^^^^^^^^^
402note: inside `hint_unreachable`
403  --> $DIR/uninhabited-const-issue-61744.rs:8:5
404   |
405LL |     fake_type()
406   |     ^^^^^^^^^^^
407note: inside `fake_type::<!>`
408  --> $DIR/uninhabited-const-issue-61744.rs:4:5
409   |
410LL |     hint_unreachable()
411   |     ^^^^^^^^^^^^^^^^^^
412note: inside `hint_unreachable`
413  --> $DIR/uninhabited-const-issue-61744.rs:8:5
414   |
415LL |     fake_type()
416   |     ^^^^^^^^^^^
417note: inside `fake_type::<!>`
418  --> $DIR/uninhabited-const-issue-61744.rs:4:5
419   |
420LL |     hint_unreachable()
421   |     ^^^^^^^^^^^^^^^^^^
422note: inside `hint_unreachable`
423  --> $DIR/uninhabited-const-issue-61744.rs:8:5
424   |
425LL |     fake_type()
426   |     ^^^^^^^^^^^
427note: inside `fake_type::<!>`
428  --> $DIR/uninhabited-const-issue-61744.rs:4:5
429   |
430LL |     hint_unreachable()
431   |     ^^^^^^^^^^^^^^^^^^
432note: inside `hint_unreachable`
433  --> $DIR/uninhabited-const-issue-61744.rs:8:5
434   |
435LL |     fake_type()
436   |     ^^^^^^^^^^^
437note: inside `fake_type::<!>`
438  --> $DIR/uninhabited-const-issue-61744.rs:4:5
439   |
440LL |     hint_unreachable()
441   |     ^^^^^^^^^^^^^^^^^^
442note: inside `hint_unreachable`
443  --> $DIR/uninhabited-const-issue-61744.rs:8:5
444   |
445LL |     fake_type()
446   |     ^^^^^^^^^^^
447note: inside `fake_type::<!>`
448  --> $DIR/uninhabited-const-issue-61744.rs:4:5
449   |
450LL |     hint_unreachable()
451   |     ^^^^^^^^^^^^^^^^^^
452note: inside `hint_unreachable`
453  --> $DIR/uninhabited-const-issue-61744.rs:8:5
454   |
455LL |     fake_type()
456   |     ^^^^^^^^^^^
457note: inside `fake_type::<!>`
458  --> $DIR/uninhabited-const-issue-61744.rs:4:5
459   |
460LL |     hint_unreachable()
461   |     ^^^^^^^^^^^^^^^^^^
462note: inside `hint_unreachable`
463  --> $DIR/uninhabited-const-issue-61744.rs:8:5
464   |
465LL |     fake_type()
466   |     ^^^^^^^^^^^
467note: inside `fake_type::<!>`
468  --> $DIR/uninhabited-const-issue-61744.rs:4:5
469   |
470LL |     hint_unreachable()
471   |     ^^^^^^^^^^^^^^^^^^
472note: inside `hint_unreachable`
473  --> $DIR/uninhabited-const-issue-61744.rs:8:5
474   |
475LL |     fake_type()
476   |     ^^^^^^^^^^^
477note: inside `fake_type::<!>`
478  --> $DIR/uninhabited-const-issue-61744.rs:4:5
479   |
480LL |     hint_unreachable()
481   |     ^^^^^^^^^^^^^^^^^^
482note: inside `hint_unreachable`
483  --> $DIR/uninhabited-const-issue-61744.rs:8:5
484   |
485LL |     fake_type()
486   |     ^^^^^^^^^^^
487note: inside `fake_type::<!>`
488  --> $DIR/uninhabited-const-issue-61744.rs:4:5
489   |
490LL |     hint_unreachable()
491   |     ^^^^^^^^^^^^^^^^^^
492note: inside `hint_unreachable`
493  --> $DIR/uninhabited-const-issue-61744.rs:8:5
494   |
495LL |     fake_type()
496   |     ^^^^^^^^^^^
497note: inside `fake_type::<!>`
498  --> $DIR/uninhabited-const-issue-61744.rs:4:5
499   |
500LL |     hint_unreachable()
501   |     ^^^^^^^^^^^^^^^^^^
502note: inside `hint_unreachable`
503  --> $DIR/uninhabited-const-issue-61744.rs:8:5
504   |
505LL |     fake_type()
506   |     ^^^^^^^^^^^
507note: inside `fake_type::<!>`
508  --> $DIR/uninhabited-const-issue-61744.rs:4:5
509   |
510LL |     hint_unreachable()
511   |     ^^^^^^^^^^^^^^^^^^
512note: inside `hint_unreachable`
513  --> $DIR/uninhabited-const-issue-61744.rs:8:5
514   |
515LL |     fake_type()
516   |     ^^^^^^^^^^^
517note: inside `fake_type::<!>`
518  --> $DIR/uninhabited-const-issue-61744.rs:4:5
519   |
520LL |     hint_unreachable()
521   |     ^^^^^^^^^^^^^^^^^^
522note: inside `hint_unreachable`
523  --> $DIR/uninhabited-const-issue-61744.rs:8:5
524   |
525LL |     fake_type()
526   |     ^^^^^^^^^^^
527note: inside `fake_type::<!>`
528  --> $DIR/uninhabited-const-issue-61744.rs:4:5
529   |
530LL |     hint_unreachable()
531   |     ^^^^^^^^^^^^^^^^^^
532note: inside `hint_unreachable`
533  --> $DIR/uninhabited-const-issue-61744.rs:8:5
534   |
535LL |     fake_type()
536   |     ^^^^^^^^^^^
537note: inside `fake_type::<!>`
538  --> $DIR/uninhabited-const-issue-61744.rs:4:5
539   |
540LL |     hint_unreachable()
541   |     ^^^^^^^^^^^^^^^^^^
542note: inside `hint_unreachable`
543  --> $DIR/uninhabited-const-issue-61744.rs:8:5
544   |
545LL |     fake_type()
546   |     ^^^^^^^^^^^
547note: inside `fake_type::<!>`
548  --> $DIR/uninhabited-const-issue-61744.rs:4:5
549   |
550LL |     hint_unreachable()
551   |     ^^^^^^^^^^^^^^^^^^
552note: inside `hint_unreachable`
553  --> $DIR/uninhabited-const-issue-61744.rs:8:5
554   |
555LL |     fake_type()
556   |     ^^^^^^^^^^^
557note: inside `fake_type::<!>`
558  --> $DIR/uninhabited-const-issue-61744.rs:4:5
559   |
560LL |     hint_unreachable()
561   |     ^^^^^^^^^^^^^^^^^^
562note: inside `hint_unreachable`
563  --> $DIR/uninhabited-const-issue-61744.rs:8:5
564   |
565LL |     fake_type()
566   |     ^^^^^^^^^^^
567note: inside `fake_type::<!>`
568  --> $DIR/uninhabited-const-issue-61744.rs:4:5
569   |
570LL |     hint_unreachable()
571   |     ^^^^^^^^^^^^^^^^^^
572note: inside `hint_unreachable`
573  --> $DIR/uninhabited-const-issue-61744.rs:8:5
574   |
575LL |     fake_type()
576   |     ^^^^^^^^^^^
577note: inside `fake_type::<!>`
578  --> $DIR/uninhabited-const-issue-61744.rs:4:5
579   |
580LL |     hint_unreachable()
581   |     ^^^^^^^^^^^^^^^^^^
582note: inside `hint_unreachable`
583  --> $DIR/uninhabited-const-issue-61744.rs:8:5
584   |
585LL |     fake_type()
586   |     ^^^^^^^^^^^
587note: inside `fake_type::<!>`
588  --> $DIR/uninhabited-const-issue-61744.rs:4:5
589   |
590LL |     hint_unreachable()
591   |     ^^^^^^^^^^^^^^^^^^
592note: inside `hint_unreachable`
593  --> $DIR/uninhabited-const-issue-61744.rs:8:5
594   |
595LL |     fake_type()
596   |     ^^^^^^^^^^^
597note: inside `fake_type::<!>`
598  --> $DIR/uninhabited-const-issue-61744.rs:4:5
599   |
600LL |     hint_unreachable()
601   |     ^^^^^^^^^^^^^^^^^^
602note: inside `hint_unreachable`
603  --> $DIR/uninhabited-const-issue-61744.rs:8:5
604   |
605LL |     fake_type()
606   |     ^^^^^^^^^^^
607note: inside `fake_type::<!>`
608  --> $DIR/uninhabited-const-issue-61744.rs:4:5
609   |
610LL |     hint_unreachable()
611   |     ^^^^^^^^^^^^^^^^^^
612note: inside `hint_unreachable`
613  --> $DIR/uninhabited-const-issue-61744.rs:8:5
614   |
615LL |     fake_type()
616   |     ^^^^^^^^^^^
617note: inside `fake_type::<!>`
618  --> $DIR/uninhabited-const-issue-61744.rs:4:5
619   |
620LL |     hint_unreachable()
621   |     ^^^^^^^^^^^^^^^^^^
622note: inside `hint_unreachable`
623  --> $DIR/uninhabited-const-issue-61744.rs:8:5
624   |
625LL |     fake_type()
626   |     ^^^^^^^^^^^
627note: inside `fake_type::<!>`
628  --> $DIR/uninhabited-const-issue-61744.rs:4:5
629   |
630LL |     hint_unreachable()
631   |     ^^^^^^^^^^^^^^^^^^
632note: inside `hint_unreachable`
633  --> $DIR/uninhabited-const-issue-61744.rs:8:5
634   |
635LL |     fake_type()
636   |     ^^^^^^^^^^^
637note: inside `fake_type::<i32>`
638  --> $DIR/uninhabited-const-issue-61744.rs:4:5
639   |
640LL |     hint_unreachable()
641   |     ^^^^^^^^^^^^^^^^^^
642note: inside `<i32 as Const>::CONSTANT`
643  --> $DIR/uninhabited-const-issue-61744.rs:12:36
644   |
645LL |     const CONSTANT: i32 = unsafe { fake_type() };
646   |                                    ^^^^^^^^^^^
647
648note: erroneous constant used
649  --> $DIR/uninhabited-const-issue-61744.rs:18:10
650   |
651LL |     dbg!(i32::CONSTANT);
652   |          ^^^^^^^^^^^^^
653
654note: erroneous constant used
655  --> $DIR/uninhabited-const-issue-61744.rs:18:10
656   |
657LL |     dbg!(i32::CONSTANT);
658   |          ^^^^^^^^^^^^^
659
660error: aborting due to previous error
661
662For more information about this error, try `rustc --explain E0080`.
663