1 error[E0080]: evaluation of `PrintName::<i32>::VOID` failed
2 --> $DIR/erroneous-const2.rs:6:22
4 LL | const VOID: () = [()][2];
5 | ^^^^^^^ index out of bounds: the length is 1 but the index is 2
7 note: erroneous constant used
8 --> $DIR/erroneous-const2.rs:13:17
10 LL | let _ = PrintName::<i32>::VOID;
11 | ^^^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0080`.