1 error[E0080]: evaluation of constant value failed
2 --> $DIR/const_panic_2021.rs:6:15
4 LL | const A: () = std::panic!("blåhaj");
5 | ^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'blåhaj', $DIR/const_panic_2021.rs:6:15
7 = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `std::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
9 error[E0080]: evaluation of constant value failed
10 --> $DIR/const_panic_2021.rs:9:15
12 LL | const B: () = std::panic!();
13 | ^^^^^^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/const_panic_2021.rs:9:15
15 = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `std::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
17 error[E0080]: evaluation of constant value failed
18 --> $DIR/const_panic_2021.rs:12:15
20 LL | const C: () = std::unreachable!();
21 | ^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic_2021.rs:12:15
23 = note: this error originates in the macro `$crate::panic::unreachable_2021` which comes from the expansion of the macro `std::unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
25 error[E0080]: evaluation of constant value failed
26 --> $DIR/const_panic_2021.rs:15:15
28 LL | const D: () = std::unimplemented!();
29 | ^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'not implemented', $DIR/const_panic_2021.rs:15:15
31 = note: this error originates in the macro `std::unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
33 error[E0080]: evaluation of constant value failed
34 --> $DIR/const_panic_2021.rs:18:15
36 LL | const E: () = std::panic!("{}", MSG);
37 | ^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic_2021.rs:18:15
39 = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `std::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
41 error[E0080]: evaluation of constant value failed
42 --> $DIR/const_panic_2021.rs:21:20
44 LL | const A_CORE: () = core::panic!("shark");
45 | ^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'shark', $DIR/const_panic_2021.rs:21:20
47 = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `core::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
49 error[E0080]: evaluation of constant value failed
50 --> $DIR/const_panic_2021.rs:24:20
52 LL | const B_CORE: () = core::panic!();
53 | ^^^^^^^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/const_panic_2021.rs:24:20
55 = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `core::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
57 error[E0080]: evaluation of constant value failed
58 --> $DIR/const_panic_2021.rs:27:20
60 LL | const C_CORE: () = core::unreachable!();
61 | ^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic_2021.rs:27:20
63 = note: this error originates in the macro `$crate::panic::unreachable_2021` which comes from the expansion of the macro `core::unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
65 error[E0080]: evaluation of constant value failed
66 --> $DIR/const_panic_2021.rs:30:20
68 LL | const D_CORE: () = core::unimplemented!();
69 | ^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'not implemented', $DIR/const_panic_2021.rs:30:20
71 = note: this error originates in the macro `core::unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
73 error[E0080]: evaluation of constant value failed
74 --> $DIR/const_panic_2021.rs:33:20
76 LL | const E_CORE: () = core::panic!("{}", MSG);
77 | ^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic_2021.rs:33:20
79 = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `core::panic` (in Nightly builds, run with -Z macro-backtrace for more info)
81 error: aborting due to 10 previous errors
83 For more information about this error, try `rustc --explain E0080`.