@@ -20,15 +20,15 @@ error[E0080]: evaluation of constant value failed
2020LL | const C: () = std::unreachable!();
2121 | ^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic_2021.rs:12:15
2222 |
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)
2424
2525error[E0080]: evaluation of constant value failed
2626 --> $DIR/const_panic_2021.rs:15:15
2727 |
2828LL | const D: () = std::unimplemented!();
2929 | ^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'not implemented', $DIR/const_panic_2021.rs:15:15
3030 |
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)
3232
3333error[E0080]: evaluation of constant value failed
3434 --> $DIR/const_panic_2021.rs:18:15
@@ -60,15 +60,15 @@ error[E0080]: evaluation of constant value failed
6060LL | const C_CORE: () = core::unreachable!();
6161 | ^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic_2021.rs:27:20
6262 |
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)
6464
6565error[E0080]: evaluation of constant value failed
6666 --> $DIR/const_panic_2021.rs:30:20
6767 |
6868LL | const D_CORE: () = core::unimplemented!();
6969 | ^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'not implemented', $DIR/const_panic_2021.rs:30:20
7070 |
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)
7272
7373error[E0080]: evaluation of constant value failed
7474 --> $DIR/const_panic_2021.rs:33:20
0 commit comments