@@ -20,15 +20,15 @@ error[E0080]: evaluation of constant value failed
20
20
LL | const C: () = std::unreachable!();
21
21
| ^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic_2021.rs:12:15
22
22
|
23
- = note: this error originates in the macro `$crate::panic::panic_2015 ` (in Nightly builds, run with -Z macro-backtrace for more info)
23
+ = note: this error originates in the macro `std::unreachable ` (in Nightly builds, run with -Z macro-backtrace for more info)
24
24
25
25
error[E0080]: evaluation of constant value failed
26
26
--> $DIR/const_panic_2021.rs:15:15
27
27
|
28
28
LL | const D: () = std::unimplemented!();
29
29
| ^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'not implemented', $DIR/const_panic_2021.rs:15:15
30
30
|
31
- = note: this error originates in the macro `$crate::panic::panic_2015 ` (in Nightly builds, run with -Z macro-backtrace for more info)
31
+ = note: this error originates in the macro `std::unimplemented ` (in Nightly builds, run with -Z macro-backtrace for more info)
32
32
33
33
error[E0080]: evaluation of constant value failed
34
34
--> $DIR/const_panic_2021.rs:18:15
@@ -60,15 +60,15 @@ error[E0080]: evaluation of constant value failed
60
60
LL | const C_CORE: () = core::unreachable!();
61
61
| ^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic_2021.rs:27:20
62
62
|
63
- = note: this error originates in the macro `$crate::panic::panic_2015 ` (in Nightly builds, run with -Z macro-backtrace for more info)
63
+ = note: this error originates in the macro `core::unreachable ` (in Nightly builds, run with -Z macro-backtrace for more info)
64
64
65
65
error[E0080]: evaluation of constant value failed
66
66
--> $DIR/const_panic_2021.rs:30:20
67
67
|
68
68
LL | const D_CORE: () = core::unimplemented!();
69
69
| ^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'not implemented', $DIR/const_panic_2021.rs:30:20
70
70
|
71
- = note: this error originates in the macro `$crate::panic::panic_2015 ` (in Nightly builds, run with -Z macro-backtrace for more info)
71
+ = note: this error originates in the macro `core::unimplemented ` (in Nightly builds, run with -Z macro-backtrace for more info)
72
72
73
73
error[E0080]: evaluation of constant value failed
74
74
--> $DIR/const_panic_2021.rs:33:20
0 commit comments