|
1 | 1 | error: any use of this value will cause an error
|
2 |
| - --> $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 2 | + --> $DIR/uninhabited-const-issue-61744.rs:4:5 |
3 | 3 | |
|
4 |
| -LL | fake_type() |
5 |
| - | ^^^^^^^^^^^ |
| 4 | +LL | hint_unreachable() |
| 5 | + | ^^^^^^^^^^^^^^^^^^ |
6 | 6 | | |
|
7 |
| - | tried to call a function with return type T passing return place of type ! |
| 7 | + | reached the configured maximum number of stack frames |
8 | 8 | | inside call to `hint_unreachable` at $DIR/uninhabited-const-issue-61744.rs:4:5
|
| 9 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 10 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 11 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 12 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 13 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 14 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 15 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 16 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 17 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 18 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 19 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 20 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 21 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 22 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 23 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 24 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 25 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 26 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 27 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 28 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 29 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 30 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 31 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 32 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 33 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 34 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 35 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 36 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 37 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 38 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 39 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 40 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 41 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 42 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 43 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 44 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 45 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 46 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 47 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 48 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 49 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 50 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 51 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 52 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 53 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 54 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 55 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 56 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
| 57 | + | inside call to `fake_type::<!>` at $DIR/uninhabited-const-issue-61744.rs:8:5 |
9 | 58 | | inside call to `fake_type::<i32>` at $DIR/uninhabited-const-issue-61744.rs:12:36
|
10 | 59 | ...
|
11 | 60 | LL | const CONSTANT: i32 = unsafe { fake_type() };
|
|
0 commit comments