1 error: any use of this value will cause an error
2 --> $DIR/array_const_index-1.rs:2:16
4 LL | const B: i32 = A[1];
7 | index out of bounds: the length is 0 but the index is 1
9 = note: `#[deny(const_err)]` on by default
11 error: aborting due to previous error