1 error[E0080]: evaluation of `PrintName::<i32>::VOID` failed
2 --> $DIR/erroneous_const.rs:LL:CC
4 LL | const VOID: ! = panic!();
5 | ^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/erroneous_const.rs:LL:CC
7 = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
9 error: post-monomorphization error: referenced constant has errors
10 --> $DIR/erroneous_const.rs:LL:CC
12 LL | let _ = PrintName::<T>::VOID;
13 | ^^^^^^^^^^^^^^^^^^^^ referenced constant has errors
15 = note: inside `no_codegen::<i32>` at $DIR/erroneous_const.rs:LL:CC
16 note: inside `main` at $DIR/erroneous_const.rs:LL:CC
17 --> $DIR/erroneous_const.rs:LL:CC
19 LL | no_codegen::<i32>();
22 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
24 error: aborting due to 2 previous errors
26 For more information about this error, try `rustc --explain E0080`.