|
1 |
| -error[E0080]: any use of this value will cause an error |
| 1 | +error[E0080]: evaluation of constant value failed |
2 | 2 | --> $DIR/const_panic.rs:7:15
|
3 | 3 | |
|
4 | 4 | LL | const Z: () = std::panic!("cheese");
|
5 |
| - | --------------^^^^^^^^^^^^^^^^^^^^^- |
6 |
| - | | |
7 |
| - | the evaluated program panicked at 'cheese', $DIR/const_panic.rs:7:15 |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'cheese', $DIR/const_panic.rs:7:15 |
8 | 6 | |
|
9 | 7 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
10 | 8 |
|
11 |
| -error[E0080]: any use of this value will cause an error |
| 9 | +error[E0080]: evaluation of constant value failed |
12 | 10 | --> $DIR/const_panic.rs:10:16
|
13 | 11 | |
|
14 | 12 | LL | const Z2: () = std::panic!();
|
15 |
| - | ---------------^^^^^^^^^^^^^- |
16 |
| - | | |
17 |
| - | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:10:16 |
| 13 | + | ^^^^^^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:10:16 |
18 | 14 | |
|
19 | 15 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
20 | 16 |
|
21 |
| -error[E0080]: any use of this value will cause an error |
| 17 | +error[E0080]: evaluation of constant value failed |
22 | 18 | --> $DIR/const_panic.rs:13:15
|
23 | 19 | |
|
24 | 20 | LL | const Y: () = std::unreachable!();
|
25 |
| - | --------------^^^^^^^^^^^^^^^^^^^- |
26 |
| - | | |
27 |
| - | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:13:15 |
| 21 | + | ^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:13:15 |
28 | 22 | |
|
29 | 23 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
30 | 24 |
|
31 |
| -error[E0080]: any use of this value will cause an error |
| 25 | +error[E0080]: evaluation of constant value failed |
32 | 26 | --> $DIR/const_panic.rs:16:15
|
33 | 27 | |
|
34 | 28 | LL | const X: () = std::unimplemented!();
|
35 |
| - | --------------^^^^^^^^^^^^^^^^^^^^^- |
36 |
| - | | |
37 |
| - | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:16:15 |
| 29 | + | ^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:16:15 |
38 | 30 | |
|
39 | 31 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
40 | 32 |
|
41 |
| -error[E0080]: any use of this value will cause an error |
| 33 | +error[E0080]: evaluation of constant value failed |
42 | 34 | --> $DIR/const_panic.rs:19:15
|
43 | 35 | |
|
44 | 36 | LL | const W: () = std::panic!(MSG);
|
45 |
| - | --------------^^^^^^^^^^^^^^^^- |
46 |
| - | | |
47 |
| - | the evaluated program panicked at 'hello', $DIR/const_panic.rs:19:15 |
| 37 | + | ^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic.rs:19:15 |
48 | 38 | |
|
49 | 39 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
50 | 40 |
|
51 |
| -error[E0080]: any use of this value will cause an error |
| 41 | +error[E0080]: evaluation of constant value failed |
52 | 42 | --> $DIR/const_panic.rs:22:20
|
53 | 43 | |
|
54 | 44 | LL | const Z_CORE: () = core::panic!("cheese");
|
55 |
| - | -------------------^^^^^^^^^^^^^^^^^^^^^^- |
56 |
| - | | |
57 |
| - | the evaluated program panicked at 'cheese', $DIR/const_panic.rs:22:20 |
| 45 | + | ^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'cheese', $DIR/const_panic.rs:22:20 |
58 | 46 | |
|
59 | 47 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
60 | 48 |
|
61 |
| -error[E0080]: any use of this value will cause an error |
| 49 | +error[E0080]: evaluation of constant value failed |
62 | 50 | --> $DIR/const_panic.rs:25:21
|
63 | 51 | |
|
64 | 52 | LL | const Z2_CORE: () = core::panic!();
|
65 |
| - | --------------------^^^^^^^^^^^^^^- |
66 |
| - | | |
67 |
| - | the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:25:21 |
| 53 | + | ^^^^^^^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:25:21 |
68 | 54 | |
|
69 | 55 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
70 | 56 |
|
71 |
| -error[E0080]: any use of this value will cause an error |
| 57 | +error[E0080]: evaluation of constant value failed |
72 | 58 | --> $DIR/const_panic.rs:28:20
|
73 | 59 | |
|
74 | 60 | LL | const Y_CORE: () = core::unreachable!();
|
75 |
| - | -------------------^^^^^^^^^^^^^^^^^^^^- |
76 |
| - | | |
77 |
| - | the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:28:20 |
| 61 | + | ^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:28:20 |
78 | 62 | |
|
79 | 63 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
80 | 64 |
|
81 |
| -error[E0080]: any use of this value will cause an error |
| 65 | +error[E0080]: evaluation of constant value failed |
82 | 66 | --> $DIR/const_panic.rs:31:20
|
83 | 67 | |
|
84 | 68 | LL | const X_CORE: () = core::unimplemented!();
|
85 |
| - | -------------------^^^^^^^^^^^^^^^^^^^^^^- |
86 |
| - | | |
87 |
| - | the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:31:20 |
| 69 | + | ^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'not implemented', $DIR/const_panic.rs:31:20 |
88 | 70 | |
|
89 | 71 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
90 | 72 |
|
91 |
| -error[E0080]: any use of this value will cause an error |
| 73 | +error[E0080]: evaluation of constant value failed |
92 | 74 | --> $DIR/const_panic.rs:34:20
|
93 | 75 | |
|
94 | 76 | LL | const W_CORE: () = core::panic!(MSG);
|
95 |
| - | -------------------^^^^^^^^^^^^^^^^^- |
96 |
| - | | |
97 |
| - | the evaluated program panicked at 'hello', $DIR/const_panic.rs:34:20 |
| 77 | + | ^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic.rs:34:20 |
98 | 78 | |
|
99 | 79 | = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
|
100 | 80 |
|
|
0 commit comments