fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0391]: cycle detected when const-evaluating `hint_unreachable` 2 --> $DIR/uninhabited-const-issue-61744.rs:8:5 3 | 4LL | fake_type() 5 | ^^^^^^^^^^^ 6 | 7note: ...which requires const-evaluating `fake_type`... 8 --> $DIR/uninhabited-const-issue-61744.rs:4:5 9 | 10LL | hint_unreachable() 11 | ^^^^^^^^^^^^^^^^^^ 12 = note: ...which again requires const-evaluating `hint_unreachable`, completing the cycle 13note: cycle used when const-evaluating `fake_type` 14 --> $DIR/uninhabited-const-issue-61744.rs:4:5 15 | 16LL | hint_unreachable() 17 | ^^^^^^^^^^^^^^^^^^ 18 19error: aborting due to previous error 20 21For more information about this error, try `rustc --explain E0391`.